1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-07 14:50:52 +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'>,
selectedAccount: $ElementType<State, 'selectedAccount'>,
};
type StateProps = {
type LocalState = {
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) {
super(props);
this.state = {