1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

flowtype fix

This commit is contained in:
Szymon Lesisz 2018-09-21 12:41:59 +02:00
parent 61528af745
commit 1e4a6c3c21
2 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,7 @@ export type StorageAction = {
type: typeof STORAGE.READY, type: typeof STORAGE.READY,
config: Config, config: Config,
tokens: TokensCollection, tokens: TokensCollection,
ERC20Abi: Array<Object> ERC20Abi: Array<TokensCollection>
} | { } | {
type: typeof STORAGE.SAVE, type: typeof STORAGE.SAVE,
network: string, network: string,
@ -148,7 +148,6 @@ export function loadTokensFromJSON(): AsyncAction {
}); });
} }
dispatch({ dispatch({
type: STORAGE.READY, type: STORAGE.READY,
config, config,

View File

@ -66,7 +66,6 @@ export type CustomBackend = {
url: string; url: string;
} }
export type State = { export type State = {
initialized: boolean; initialized: boolean;
error: ?string; error: ?string;