Skip to content

Commit

Permalink
Framework: Fix typo "persisted"
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored and youknowriad committed Aug 22, 2017
1 parent 34fcfcb commit 3c6bd72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/store-persist.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export default function storePersist( reducerKey, storageKey = DEFAULT_STORAGE_K
// Load initially persisted value
const persistedString = window.localStorage.getItem( storageKey );
if ( persistedString ) {
const persitedState = JSON.parse( persistedString );
const persistedState = JSON.parse( persistedString );
store.dispatch( {
type: 'REDUX_REHYDRATE',
payload: persitedState,
payload: persistedState,
} );
}

Expand Down

0 comments on commit 3c6bd72

Please sign in to comment.