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