Skip to content

Commit 2eac861

Browse files
ricokahlermarkerikson
authored andcommitted
fix spelling in error message (#1427)
1 parent 6725400 commit 2eac861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useSelector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function useSelectorWithStoreAndSubscription(
5757
selectedState = latestSelectedState.current
5858
}
5959
} catch (err) {
60-
let errorMessage = `An error occured while selecting the store state: ${err.message}.`
60+
let errorMessage = `An error occurred while selecting the store state: ${err.message}.`
6161

6262
if (latestSubscriptionCallbackError.current) {
6363
errorMessage += `\nThe error may be correlated with this previous error:\n${latestSubscriptionCallbackError.current.stack}\n\nOriginal stack trace:`

0 commit comments

Comments
 (0)