Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Mar 25, 2021
1 parent 6154eef commit d4fe51f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions docs/src/pages/components/no-ssr/SimpleNoSsr.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ export default function SimpleNoSsr() {
</Box>
<NoSsr>
<Box
sx={{
p: 2,
bgcolor: 'secondary.main',
color: 'primary.contrastText',
}}
sx={{ p: 2, bgcolor: 'secondary.main', color: 'secondary.contrastText' }}
>
Client only
</Box>
Expand Down
6 changes: 1 addition & 5 deletions docs/src/pages/components/no-ssr/SimpleNoSsr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ export default function SimpleNoSsr() {
</Box>
<NoSsr>
<Box
sx={{
p: 2,
bgcolor: 'secondary.main',
color: 'primary.contrastText',
}}
sx={{ p: 2, bgcolor: 'secondary.main', color: 'secondary.contrastText' }}
>
Client only
</Box>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/no-ssr/no-ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This component can be useful in a variety of situations:

{{"component": "modules/components/ComponentLinkHeader.js", "design": false}}

## Client side deferring
## Client-side deferring

{{"demo": "pages/components/no-ssr/SimpleNoSsr.js"}}

Expand Down

0 comments on commit d4fe51f

Please sign in to comment.