This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: **Summary** Fix instances of the React warning: ``` React.jsx: Spreading a key to JSX is a deprecated pattern. ' + 'Explicitly pass a key after spreading props in your JSX call. ' + 'E.g. <ComponentName {...props} key={key} />' ``` originating from [React here](https://github.com/facebook/react/blob/18d2e0c03e4496a824fdb7f89ea2a3d60c30d49a/packages/react/src/ReactElementValidator.js#L366-L373) This warning occurs when you spread a key with other props. There are probably more instances of this issue but these are the highest firing in our codebase. **Test Plan** `npm run lint && npm run test` Pull Request resolved: #2221 Reviewed By: mitermayer Differential Revision: D18038272 Pulled By: steveluscher fbshipit-source-id: 736236601ace92ae1e8d127e10bb35e393fa14b7
- Loading branch information