load first config from local storage if there is one

pull/513/head
Vladimir Volek 5 years ago
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…
Cancel
Save