We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c56078 commit a9dce03Copy full SHA for a9dce03
src/hooks/useSelector.js
@@ -97,7 +97,7 @@ export function createSelectorHook(context = ReactReduxContext) {
97
: () => useContext(context)
98
return function useSelector(selector, equalityFn = refEquality) {
99
if (process.env.NODE_ENV !== 'production' && !selector) {
100
- throw new Error(`You must pass a selector to useSelectors`)
+ throw new Error(`You must pass a selector to useSelector`)
101
}
102
const { store, subscription: contextSub } = useReduxContext()
103
0 commit comments