1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-14 04:19:09 +00:00

update localstorage version

This commit is contained in:
Szymon Lesisz 2020-03-30 20:47:35 +02:00
parent c5b4ae1350
commit de6439e1af

View File

@ -213,7 +213,8 @@ const loadJSON = (): AsyncAction => async (dispatch: Dispatch): Promise<void> =>
}
};
const VERSION: string = '2';
// version 3 since trezor-connect@8 implementation
const VERSION: string = '3';
const loadStorageData = (): ThunkAction => (dispatch: Dispatch): void => {
// validate version