mirror of
https://github.com/trezor/trezor-wallet
synced 2025-02-18 19:12:02 +00:00
load first config from local storage if there is one
This commit is contained in:
parent
184d8a2b23
commit
7050cf006d
@ -248,6 +248,14 @@ const loadStorageData = (): ThunkAction => (dispatch: Dispatch): void => {
|
||||
});
|
||||
}
|
||||
|
||||
const hiddenCoins = getHiddenCoins();
|
||||
if (hiddenCoins) {
|
||||
dispatch({
|
||||
type: WALLET.SET_HIDDEN_COINS,
|
||||
hiddenCoins,
|
||||
});
|
||||
}
|
||||
|
||||
const userTokens: ?string = storageUtils.get(TYPE, KEY_TOKENS);
|
||||
if (userTokens) {
|
||||
dispatch({
|
||||
|
Loading…
Reference in New Issue
Block a user