Skip to content

Commit

Permalink
Updated deprecated link for store subscribe listener (#2932)
Browse files Browse the repository at this point in the history
* Fixed typo

* Updated deprecated link for subscribe listener

* updated deprecated link
  • Loading branch information
rajendraarora16 authored and timdorr committed Apr 13, 2018
1 parent a8c31f4 commit 1448a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/createStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function createStore(reducer, preloadedState, enhancer) {
'You may not call store.subscribe() while the reducer is executing. ' +
'If you would like to be notified after the store has been updated, subscribe from a ' +
'component and invoke store.getState() in the callback to access the latest state. ' +
'See http://redux.js.org/docs/api/Store.html#subscribe for more details.'
'See https://redux.js.org/api-reference/store#subscribe(listener) for more details.'
)
}

Expand All @@ -125,7 +125,7 @@ export default function createStore(reducer, preloadedState, enhancer) {
if (isDispatching) {
throw new Error(
'You may not unsubscribe from a store listener while the reducer is executing. ' +
'See http://redux.js.org/docs/api/Store.html#subscribe for more details.'
'See https://redux.js.org/api-reference/store#subscribe(listener) for more details.'
)
}

Expand Down

0 comments on commit 1448a7c

Please sign in to comment.