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

add explanation of 'not-used' strings

This commit is contained in:
Szymon Lesisz 2018-12-17 19:07:11 +01:00
parent 4c4b40c639
commit f24f0b33ea

View File

@ -43,6 +43,7 @@ const getExceptionPage = (state: State, selectedAccount: SelectedAccountState):
if (!device || !device.features || !network || !discovery) return null; if (!device || !device.features || !network || !discovery) return null;
if (discovery.fwOutdated) { if (discovery.fwOutdated) {
// those values are not used because in this case views/Wallet/views/FirmwareUpdate component will be displayed and it already has text content
return { return {
type: 'fwOutdated', type: 'fwOutdated',
title: 'not-used', title: 'not-used',