Skip to content

Commit

Permalink
Fixed article (reduxjs#2811)
Browse files Browse the repository at this point in the history
* Fixed article in createStore

* Removed prettier fixes
  • Loading branch information
vvozibic authored and timdorr committed Jan 26, 2018
1 parent cbdca62 commit 9d6807d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function createStore(reducer, preloadedState, enhancer) {
*/
function subscribe(listener) {
if (typeof listener !== 'function') {
throw new Error('Expected listener to be a function.')
throw new Error('Expected the listener to be a function.')
}

if (isDispatching) {
Expand Down

0 comments on commit 9d6807d

Please sign in to comment.