mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-13 20:08:56 +00:00
dont stringify bool hideBalance in localStorage
This commit is contained in:
parent
751c682f9a
commit
f95ff68978
@ -311,7 +311,7 @@ export const setLanguage = (): ThunkAction => (dispatch: Dispatch, getState: Get
|
||||
|
||||
export const setHideBalance = (): ThunkAction => (dispatch: Dispatch, getState: GetState): void => {
|
||||
const { hideBalance } = getState().wallet;
|
||||
storageUtils.set(TYPE, KEY_HIDE_BALANCE, JSON.stringify(hideBalance));
|
||||
storageUtils.set(TYPE, KEY_HIDE_BALANCE, hideBalance);
|
||||
};
|
||||
|
||||
export const setLocalCurrency = (): ThunkAction => (
|
||||
|
Loading…
Reference in New Issue
Block a user