flowtype fix

pull/69/head
Szymon Lesisz 6 years ago
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…
Cancel
Save