From 87c777ac1003f8d4effd31321531f3cd0d186208 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 13 Nov 2018 10:28:58 +0000 Subject: [PATCH] Appbar: fix the warning about passing an unknown props. --- src/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 903e43e..3b27d94 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -124,6 +124,7 @@ const AppBarWitHistory = withRouter( staticContext, toggleDrawerIcon, history, + iconElementRight, ...props } = this.props; return ( @@ -144,7 +145,7 @@ const AppBarWitHistory = withRouter(
- {this.props.iconElementRight} + {iconElementRight}