1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

add route to FirmwareUpdate page

This commit is contained in:
Szymon Lesisz 2018-10-03 19:08:20 +02:00 committed by Szymon Lesisz
parent 9d7161a294
commit 12dab6e3bc
2 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,11 @@ export const routes: Array<Route> = [
pattern: '/device/:device/initialize', pattern: '/device/:device/initialize',
fields: ['device', 'initialize'], fields: ['device', 'initialize'],
}, },
{
name: 'wallet-firmware-update',
pattern: '/device/:device/firmware-update',
fields: ['device', 'firmware-update'],
},
{ {
name: 'wallet-device-settings', name: 'wallet-device-settings',
pattern: '/device/:device/settings', pattern: '/device/:device/settings',

View File

@ -43,6 +43,7 @@ const App = () => (
<Route exact path={getPattern('wallet-unreadable')} component={WalletUnreadableDevice} /> <Route exact path={getPattern('wallet-unreadable')} component={WalletUnreadableDevice} />
<Route exact path={getPattern('wallet-bootloader')} component={WalletBootloader} /> <Route exact path={getPattern('wallet-bootloader')} component={WalletBootloader} />
<Route exact path={getPattern('wallet-initialize')} component={WalletInitialize} /> <Route exact path={getPattern('wallet-initialize')} component={WalletInitialize} />
<Route exact path={getPattern('wallet-firmware-update')} component={WalletFirmwareUpdate} />
<Route exact path={getPattern('wallet-device-settings')} component={WalletDeviceSettings} /> <Route exact path={getPattern('wallet-device-settings')} component={WalletDeviceSettings} />
<Route exact path={getPattern('wallet-account-summary')} component={AccountSummary} /> <Route exact path={getPattern('wallet-account-summary')} component={AccountSummary} />
<Route path={getPattern('wallet-account-send')} component={AccountSend} /> <Route path={getPattern('wallet-account-send')} component={AccountSend} />