diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-04 05:43:23 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-04 05:43:23 +0800 |
commit | 52c956222e8a737c05bae49a97e457df81933000 (patch) | |
tree | 8f9cec16388d872fbabf61c33d8717daefb88344 /packages/website/ts/redux | |
parent | 9389d643924316a18ac8503211d39bb4ebf2156b (diff) | |
parent | 0900e0c85e76a34301ad5a336d2b195ed595aef7 (diff) | |
download | dexon-sol-tools-52c956222e8a737c05bae49a97e457df81933000.tar dexon-sol-tools-52c956222e8a737c05bae49a97e457df81933000.tar.gz dexon-sol-tools-52c956222e8a737c05bae49a97e457df81933000.tar.bz2 dexon-sol-tools-52c956222e8a737c05bae49a97e457df81933000.tar.lz dexon-sol-tools-52c956222e8a737c05bae49a97e457df81933000.tar.xz dexon-sol-tools-52c956222e8a737c05bae49a97e457df81933000.tar.zst dexon-sol-tools-52c956222e8a737c05bae49a97e457df81933000.zip |
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/website/portal-mobile-improvements
Diffstat (limited to 'packages/website/ts/redux')
-rw-r--r-- | packages/website/ts/redux/store.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/redux/store.ts b/packages/website/ts/redux/store.ts index 0d0e6cea1..2672e3f61 100644 --- a/packages/website/ts/redux/store.ts +++ b/packages/website/ts/redux/store.ts @@ -13,9 +13,11 @@ export const store: ReduxStore<State> = createStore( ); store.subscribe( _.throttle(() => { + const state = store.getState(); // Persisted state stateStorage.saveState({ - hasPortalOnboardingBeenClosed: store.getState().hasPortalOnboardingBeenClosed, + hasPortalOnboardingBeenClosed: state.hasPortalOnboardingBeenClosed, + isPortalOnboardingShowing: state.isPortalOnboardingShowing, }); }, ONE_SECOND), ); |