Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(app-container): fix react warning about no "key" in aStyledDimmer
Browse files Browse the repository at this point in the history
fix(app-container): fix react warning about no "key" in aStyledDimmer
  • Loading branch information
Metnew committed Feb 19, 2018
1 parent b88f800 commit 94d10ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/containers/App/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ class App extends Component<Props> {
<SidebarSemanticPushable>
<Sidebar />
<SidebarSemanticPusherStyled sidebar_opened={sidebarOpened ? '1' : ''}>
<StyledDimmer {...dimmerProps} />
{/* React throws warnings about no "key" prop in this <div> */}
<StyledDimmer key={1} {...dimmerProps} />
<Header />
<div className="main-layout">
<main className="main-content">
Expand Down

0 comments on commit 94d10ae

Please sign in to comment.