1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 00:18:07 +00:00

Rename "Tabs" to "TopNavigationAccount"

This commit is contained in:
Vasek Mlejnsky 2018-08-27 12:34:58 +02:00
parent c0af63cc5c
commit ad26f2c30b
2 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ class Indicator extends Component<Props, State> {
}
}
const AccountTabs = (props: any) => {
const TopNavigationAccount = (props: any) => {
const urlParams = props.match.params;
const basePath = `/device/${urlParams.device}/network/${urlParams.network}/account/${urlParams.account}`;
@ -102,4 +102,4 @@ const AccountTabs = (props: any) => {
);
};
export default AccountTabs;
export default TopNavigationAccount;

View File

@ -17,7 +17,7 @@ import Log from 'components/Log';
import DeviceSettingsTabs from './views/DeviceSettingsTabs';
import LeftNavigation from './components/LeftNavigation/Container';
import AccountTabs from './components/Tabs';
import TopNavigationAccount from './components/TopNavigationAccount';
type WalletContainerProps = {
wallet: $ElementType<State, 'wallet'>,
@ -80,8 +80,8 @@ const Wallet = (props: WalletContainerProps) => (
<LeftNavigation />
<MainContent>
<Navigation>
<Route path="/device/:device/network/:network/account/:account" component={AccountTabs} />
<Route path="/device/:device/device-settings" component={DeviceSettingsTabs} />
<Route path="/device/:device/network/:network/account/:account" component={TopNavigationAccount} />
</Navigation>
<Notifications />
<Log />