Disable networks with no support (#4355)

This commit is contained in:
Jaco Greeff 2021-01-09 15:48:32 +01:00 committed by GitHub
parent 6644ddd821
commit 5e4b00082e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -111,7 +111,7 @@ export function createProduction (t: TFunction): LinkOption[] {
},
{
info: 'hanonycash',
text: t('rpc.hanonycash', 'hanonycash', { ns: 'apps-config' }),
text: t('rpc.hanonycash', 'Hanonycash', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'hanonycash' } }),
value: 'wss://rpc.hanonycash.com'
},
@ -136,6 +136,7 @@ export function createProduction (t: TFunction): LinkOption[] {
},
{
info: 'stafi',
isDisabled: true, // Cannot find type ChainId
text: t('rpc.stafi', 'Stafi', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Stafi Foundation' } }),
value: 'wss://mainnet-rpc.stafi.io'

View File

@ -97,8 +97,8 @@ export function createTesting (t: TFunction): LinkOption[] {
value: 'wss://substrate-rpc.parity.io'
},
{
dnslink: 'galois',
info: 'galois',
isDisabled: true, // cannot construct AccountServiceEnum
text: t('rpc.galois', 'Galois', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'MathWallet' } }),
value: 'wss://galois.maiziqianbao.net/ws'