1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-23 22:41:06 +00:00

rename types

This commit is contained in:
slowbackspace 2019-02-19 17:21:17 +01:00
parent e116cb17cd
commit 0422dc78ba

View File

@ -14,7 +14,7 @@ type Props = {
router: $ElementType<State, 'router'>, router: $ElementType<State, 'router'>,
selectedAccount: $ElementType<State, 'selectedAccount'>, selectedAccount: $ElementType<State, 'selectedAccount'>,
}; };
type StateProps = { type LocalState = {
wrapper: ?HTMLElement, wrapper: ?HTMLElement,
}; };
@ -69,7 +69,7 @@ const StyledNavLink = styled(NavLink)`
} }
`; `;
class TopNavigationAccount extends React.PureComponent<Props, StateProps> { class TopNavigationAccount extends React.PureComponent<Props, LocalState> {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {