Skip to content

Commit 8dc5fd4

Browse files
committed
adapted Basic App Bar for new API
1 parent 91e9ecb commit 8dc5fd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/AppBar/BasicAppBar/BasicAppBar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class BasicAppBar extends React.PureComponent {
1919
classes: PropTypes.shape({}),
2020
title: PropTypes.string,
2121
logo: PropTypes.string,
22-
onIconClick: PropTypes.func,
22+
toggleLeftDrawer: PropTypes.func,
2323
menuIconAlways: PropTypes.bool,
2424
width: PropTypes.string,
2525
};
@@ -29,7 +29,7 @@ class BasicAppBar extends React.PureComponent {
2929
};
3030

3131
handleIconClick = () => {
32-
this.props.onIconClick();
32+
this.props.toggleLeftDrawer();
3333
};
3434

3535
renderLogo = () => {

0 commit comments

Comments
 (0)