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

Commit

Permalink
Add key to SectionContainer to fix react warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabriele committed Jan 23, 2019
1 parent f0442d7 commit 0eec6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autowhatever.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default class Autowhatever extends Component {
// `key` is provided by theme()
/* eslint-disable react/jsx-key */
return (
<SectionContainer section={section} renderSectionContainer={renderSectionContainer} themeProps={themeProps}>
<SectionContainer key={section.id} section={section} renderSectionContainer={renderSectionContainer} themeProps={themeProps}>
<SectionTitle
section={section}
renderSectionTitle={renderSectionTitle}
Expand Down

0 comments on commit 0eec6e0

Please sign in to comment.