Browse Source

Update conditional-rendering.md to fix formatting (#4493)

A slight inconsistency in the formatting used throughout for `{` `}`.
main
James Herdman 3 years ago
committed by GitHub
parent
commit
7200653b44
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/conditional-rendering.md

2
content/docs/conditional-rendering.md

@ -159,7 +159,7 @@ render() {
const count = 0; const count = 0;
return ( return (
<div> <div>
{ count && <h1>Messages: {count}</h1>} {count && <h1>Messages: {count}</h1>}
</div> </div>
); );
} }

Loading…
Cancel
Save