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 878271f commit b53d184Copy full SHA for b53d184
src/hooks/useSelector.js
@@ -34,7 +34,7 @@ function useSelectorWithStoreAndSubscription(
34
latestSubscriptionCallbackError.current
35
) {
36
const newSelectedState = selector(storeState)
37
- // ensure latest selected state is reused so that a curtom equality function can result in identical references
+ // ensure latest selected state is reused so that a custom equality function can result in identical references
38
if (
39
latestSelectedState.current === undefined ||
40
!equalityFn(newSelectedState, latestSelectedState.current)
0 commit comments