Appbar: fix the warning about passing an unknown props.
parent
4d386f5a0a
commit
87c777ac10
src
|
@ -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…
Reference in New Issue