File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ class Layout extends React.PureComponent {
186
186
{ leftDrawerContent ? (
187
187
< Drawer
188
188
open = { leftDrawerOpen }
189
- onRequestClose = { this . handleLeftDrawerClose }
189
+ onClose = { this . handleLeftDrawerClose }
190
190
type = { ! smallScreen ? leftDrawerType : 'temporary' }
191
191
classes = { { paper : leftDrawerPaperClassnames } }
192
192
{ ...leftDrawerProps }
@@ -202,7 +202,7 @@ class Layout extends React.PureComponent {
202
202
< Drawer
203
203
anchor = "right"
204
204
open = { rightDrawerOpen }
205
- onRequestClose = { this . handleRightDrawerClose }
205
+ onClose = { this . handleRightDrawerClose }
206
206
type = { ! smallScreen ? rightDrawerType : 'temporary' }
207
207
classes = { { paper : rightDrawerPaperClassnames } }
208
208
{ ...rightDrawerProps }
You can’t perform that action at this time.
0 commit comments