mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
flowtype fix
This commit is contained in:
parent
61528af745
commit
1e4a6c3c21
@ -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,
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user