1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-31 19:30:53 +00:00

fix unsupported firmware wiki url

This commit is contained in:
Szymon Lesisz 2019-01-03 15:41:51 +01:00
parent 96fd05676f
commit 7d9857845f

View File

@ -13,9 +13,9 @@ const getInfoUrl = (networkShortcut: ?string) => {
const urls = {
default: 'https://wiki.trezor.io',
xrp: 'https://wiki.trezor.io/Ripple_(XRP)',
txrp: 'https://wiki.trezor.io/Ripple_(XRP)',
};
return networkShortcut ? urls[networkShortcut] : urls.default;
return networkShortcut && urls[networkShortcut] ? urls[networkShortcut] : urls.default;
};
type Props = {