mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
89f2f7fcef
This was probably a leftover from a previous time, but since this error message throws when the dependency list is not an array literal, and not just when its a rest spread, this PR updates the message to match. ghstack-source-id: 28f2338212e56a67d3d477cea5abb6e9f3826488 Pull Request resolved: https://github.com/facebook/react-forget/pull/2902