Rename "DeviceSettingsTabs" to "TopNavigationDeviceSettings"

pull/8/head
Vasek Mlejnsky 6 years ago
parent ad26f2c30b
commit 8445ef8214

@ -14,10 +14,10 @@ import Footer from 'components/Footer';
import ModalContainer from 'components/modal'; import ModalContainer from 'components/modal';
import Notifications from 'components/Notification'; import Notifications from 'components/Notification';
import Log from 'components/Log'; import Log from 'components/Log';
import DeviceSettingsTabs from './views/DeviceSettingsTabs';
import LeftNavigation from './components/LeftNavigation/Container'; import LeftNavigation from './components/LeftNavigation/Container';
import TopNavigationAccount from './components/TopNavigationAccount'; import TopNavigationAccount from './components/TopNavigationAccount';
import TopNavigationDeviceSettings from './components/TopNavigationDeviceSettings';
type WalletContainerProps = { type WalletContainerProps = {
wallet: $ElementType<State, 'wallet'>, wallet: $ElementType<State, 'wallet'>,
@ -35,7 +35,7 @@ const AppWrapper = styled.div`
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: ${colors.BACKGROUND}; background: ${colors.BACKGROUND};
&.resized { &.resized {
min-height: 680px; min-height: 680px;
} }
@ -80,8 +80,8 @@ const Wallet = (props: WalletContainerProps) => (
<LeftNavigation /> <LeftNavigation />
<MainContent> <MainContent>
<Navigation> <Navigation>
<Route path="/device/:device/device-settings" component={DeviceSettingsTabs} />
<Route path="/device/:device/network/:network/account/:account" component={TopNavigationAccount} /> <Route path="/device/:device/network/:network/account/:account" component={TopNavigationAccount} />
<Route path="/device/:device/device-settings" component={TopNavigationDeviceSettings} />
</Navigation> </Navigation>
<Notifications /> <Notifications />
<Log /> <Log />

Loading…
Cancel
Save