mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-23 22:41:06 +00:00
rename types
This commit is contained in:
parent
e116cb17cd
commit
0422dc78ba
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user