1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 01:08:27 +00:00

sync discovery with LocalStorage

This commit is contained in:
Szymon Lesisz 2018-05-25 11:20:12 +02:00
parent e1f2d07187
commit 2025198d85

View File

@ -202,11 +202,10 @@ export function update(event: StorageEvent): AsyncAction {
} }
if (event.key === 'discovery') { if (event.key === 'discovery') {
// TODO: check if changed discovery is not running locally dispatch({
// dispatch({ type: DISCOVERY.FROM_STORAGE,
// type: DISCOVERY.FROM_STORAGE, payload: JSON.parse(event.newValue)
// payload: JSON.parse(event.newValue) });
// });
} }
} }
} }