mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-23 14:31:07 +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 => {
|
export const setHideBalance = (): ThunkAction => (dispatch: Dispatch, getState: GetState): void => {
|
||||||
const { hideBalance } = getState().wallet;
|
const { hideBalance } = getState().wallet;
|
||||||
storageUtils.set(TYPE, KEY_HIDE_BALANCE, JSON.stringify(hideBalance));
|
storageUtils.set(TYPE, KEY_HIDE_BALANCE, hideBalance);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const setLocalCurrency = (): ThunkAction => (
|
export const setLocalCurrency = (): ThunkAction => (
|
||||||
|
Loading…
Reference in New Issue
Block a user