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:
parent
96fd05676f
commit
7d9857845f
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user