mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-15 21:08:57 +00:00
fix flow 2
This commit is contained in:
parent
68d3bbb738
commit
22adf7fac1
@ -15,7 +15,7 @@ export type StateProps = {
|
||||
selectedAccount: $ElementType<State, 'selectedAccount'>,
|
||||
}
|
||||
|
||||
type SignVerify = {
|
||||
export type SignVerifyState = {
|
||||
signSignature: string,
|
||||
signAddress: string,
|
||||
signMessage: string,
|
||||
@ -28,7 +28,7 @@ type SignVerify = {
|
||||
|
||||
export type DispatchProps = {
|
||||
signVerifyActions: typeof SignVerifyActions,
|
||||
signVerify: SignVerify
|
||||
signVerify: SignVerifyState
|
||||
}
|
||||
|
||||
export type Props = StateProps & DispatchProps;
|
||||
|
@ -9,7 +9,7 @@ import Button from 'components/Button';
|
||||
import Content from 'views/Wallet/components/Content';
|
||||
import colors from 'config/colors';
|
||||
|
||||
import type { Props } from './Container';
|
||||
import type { Props, SignVerifyState } from './Container';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
display: flex;
|
||||
@ -46,15 +46,7 @@ const Verify = styled(Column)`
|
||||
padding-left: 20px;
|
||||
`;
|
||||
|
||||
type State = {
|
||||
signMessage: string,
|
||||
verifyAddress: string,
|
||||
verifyMessage: string,
|
||||
verifySignature: string,
|
||||
touched: Array<string>
|
||||
}
|
||||
|
||||
class SignVerify extends Component<Props, State> {
|
||||
class SignVerify extends Component <Props, SignVerifyState> {
|
||||
handleInputChange = (event: SyntheticInputEvent<Text>) => {
|
||||
this.props.signVerifyActions.inputChange(event.target.name, event.target.value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user