Skip to content

Commit

Permalink
Set restoreDates to false.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Dec 28, 2019
1 parent f836950 commit baaf0e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/reducers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ export const keySerializer = (key: string) => `${getAltairInstanceStorageNamespa

export function localStorageSyncReducer(_reducer: ActionReducer<any>): ActionReducer<any> {
return localStorageSync({
keys: ['windows', 'windowsMeta', 'settings', 'environments'],
keys: [ 'windows', 'windowsMeta', 'settings', 'environments' ],
rehydrate: true,
storage: performantLocalStorage,
restoreDates: false,
// syncCondition: (state) => console.log(state),
storageKeySerializer: keySerializer
})(_reducer);
Expand Down

0 comments on commit baaf0e6

Please sign in to comment.