diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-22 03:46:16 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-02-22 03:46:16 +0800 |
commit | e2d17d122e25feeabb1d5499065274ec6e30bd4f (patch) | |
tree | 3b6db4ea36eea523b09e8aa0199111b0c98eedb1 /packages/website/ts/redux/reducer.ts | |
parent | 0d7bf505810602e73b168bde6887f76e315c50ae (diff) | |
download | dexon-0x-contracts-e2d17d122e25feeabb1d5499065274ec6e30bd4f.tar.gz dexon-0x-contracts-e2d17d122e25feeabb1d5499065274ec6e30bd4f.tar.zst dexon-0x-contracts-e2d17d122e25feeabb1d5499065274ec6e30bd4f.zip |
Keep topBar and footer language to the one picked by the user
Diffstat (limited to 'packages/website/ts/redux/reducer.ts')
-rw-r--r-- | packages/website/ts/redux/reducer.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/website/ts/redux/reducer.ts b/packages/website/ts/redux/reducer.ts index 3bb2d1a21..1f489db85 100644 --- a/packages/website/ts/redux/reducer.ts +++ b/packages/website/ts/redux/reducer.ts @@ -95,7 +95,10 @@ export function reducer(state: State = INITIAL_STATE, action: Action) { switch (action.type) { // Portal case ActionTypes.ResetState: - return INITIAL_STATE; + return { + ...INITIAL_STATE, + translate: state.translate, + }; case ActionTypes.UpdateOrderSalt: { return { |