Appbar: fix the warning about passing an unknown props.

master
Tom Hacohen 6 years ago
parent 4d386f5a0a
commit 87c777ac10

@ -124,6 +124,7 @@ const AppBarWitHistory = withRouter(
staticContext,
toggleDrawerIcon,
history,
iconElementRight,
...props
} = this.props;
return (
@ -144,7 +145,7 @@ const AppBarWitHistory = withRouter(
</div>
<div style={{ marginRight: -12 }}>
{this.props.iconElementRight}
{iconElementRight}
</div>
</Toolbar>
</AppBar>

Loading…
Cancel
Save