From ce1383721693e850456b68e4d5782b88c420b4d8 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 28 Sep 2017 09:46:10 +0100 Subject: [PATCH] Remove `key` prop pass-thru on HeaderButton This is redundant and throws a warning --- src/components/structures/RightPanel.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index 90b4c5f67d..2a7416a3d3 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -45,11 +45,7 @@ class HeaderButton extends React.Component { const TintableSvg = sdk.getComponent("elements.TintableSvg"); const AccessibleButton = sdk.getComponent("elements.AccessibleButton"); - return + return
{ this.props.badge ? this.props.badge :  }