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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/conditional-rendering.md
|
|
@ -159,7 +159,7 @@ render() { |
|
|
|
const count = 0; |
|
|
|
return ( |
|
|
|
<div> |
|
|
|
{ count && <h1>Messages: {count}</h1>} |
|
|
|
{count && <h1>Messages: {count}</h1>} |
|
|
|
</div> |
|
|
|
); |
|
|
|
} |
|
|
|