mirror of
https://github.com/trezor/trezor-wallet
synced 2025-06-19 14:38:50 +00:00
fix flow 3
This commit is contained in:
parent
22adf7fac1
commit
f5537ca513
@ -8,7 +8,7 @@ import type { MapStateToProps, MapDispatchToProps } from 'react-redux';
|
|||||||
import type { State, Dispatch } from 'flowtype';
|
import type { State, Dispatch } from 'flowtype';
|
||||||
import AccountSend from './index';
|
import AccountSend from './index';
|
||||||
|
|
||||||
type OwnProps = { }
|
type OwnProps = {}
|
||||||
|
|
||||||
export type StateProps = {
|
export type StateProps = {
|
||||||
selectedAccount: $ElementType<State, 'selectedAccount'>,
|
selectedAccount: $ElementType<State, 'selectedAccount'>,
|
||||||
|
@ -10,11 +10,6 @@ import Component from './index';
|
|||||||
|
|
||||||
type OwnProps = {}
|
type OwnProps = {}
|
||||||
|
|
||||||
export type StateProps = {
|
|
||||||
wallet: $ElementType<State, 'wallet'>,
|
|
||||||
selectedAccount: $ElementType<State, 'selectedAccount'>,
|
|
||||||
}
|
|
||||||
|
|
||||||
export type SignVerifyState = {
|
export type SignVerifyState = {
|
||||||
signSignature: string,
|
signSignature: string,
|
||||||
signAddress: string,
|
signAddress: string,
|
||||||
@ -26,9 +21,14 @@ export type SignVerifyState = {
|
|||||||
touched: Array<string>,
|
touched: Array<string>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type StateProps = {
|
||||||
|
wallet: $ElementType<State, 'wallet'>,
|
||||||
|
selectedAccount: $ElementType<State, 'selectedAccount'>,
|
||||||
|
signVerify: SignVerifyState,
|
||||||
|
}
|
||||||
|
|
||||||
export type DispatchProps = {
|
export type DispatchProps = {
|
||||||
signVerifyActions: typeof SignVerifyActions,
|
signVerifyActions: typeof SignVerifyActions,
|
||||||
signVerify: SignVerifyState
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Props = StateProps & DispatchProps;
|
export type Props = StateProps & DispatchProps;
|
||||||
|
Loading…
Reference in New Issue
Block a user