Skip to content

Commit

Permalink
[React] fix missing key error (#4193)
Browse files Browse the repository at this point in the history
  • Loading branch information
goszczynskip authored and Pessimistress committed Jan 24, 2020
1 parent b513df6 commit 6504586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/react/src/utils/position-children-under-views.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function positionChildrenUnderViews({children, viewports, deck, C
deck._onViewStateChange(params);
}
};
return createElement(ContextProvider, {value: contextValue}, viewElement);
return createElement(ContextProvider, {key, value: contextValue}, viewElement);
}

return viewElement;
Expand Down

0 comments on commit 6504586

Please sign in to comment.