Skip to content

Commit

Permalink
Merge pull request #873 from sresant/st-redux-provider-warning
Browse files Browse the repository at this point in the history
Fix react warning coming from the RootProvider
  • Loading branch information
drewpc authored Feb 10, 2017
2 parents ac4f6d2 + 5340475 commit be40c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server-redux/RootProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RootProvider extends React.Component {
}
});
} else {
wrappedElements.push(React.createElement(Provider, {store: this.props.store}, this.props.children));
wrappedElements.push(React.createElement(Provider, {key: 0, store: this.props.store}, this.props.children));
}

return React.createElement('div', null, wrappedElements);
Expand Down

0 comments on commit be40c32

Please sign in to comment.