Skip to content

Commit 1277e9a

Browse files
rvsiaHyperkid123
authored andcommitted
Switch hidden implementation to css to allow SSR
1 parent 1640471 commit 1277e9a

File tree

1 file changed

+2
-2
lines changed
  • packages/react-renderer-demo/src/components

1 file changed

+2
-2
lines changed

packages/react-renderer-demo/src/components/layout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ const Layout = ({ children }) => {
184184
<MenuIcon className={classes.menuIcons} />
185185
</IconButton>
186186
</Toolbar>
187-
<Hidden smDown>
187+
<Hidden smDown implementation="css">
188188
<Drawer
189189
className={classes.drawer}
190190
variant="persistent"
@@ -198,7 +198,7 @@ const Layout = ({ children }) => {
198198
<Divider />
199199
</Drawer>
200200
</Hidden>
201-
<Hidden mdUp>
201+
<Hidden mdUp implementation="css">
202202
<Drawer
203203
className={classes.drawer}
204204
variant="temporary"

0 commit comments

Comments
 (0)