Add previous checks
This commit is contained in:
parent
57b370f846
commit
2fa20005c7
@ -27,6 +27,8 @@ export const isChainInfoFilled = (chain: Partial<ChainInfo>): chain is ChainInfo
|
||||
chain.denom &&
|
||||
chain.displayDenom &&
|
||||
Number.isSafeInteger(chain.displayDenomExponent) &&
|
||||
chain.displayDenomExponent && // Check not needed but narrows next line's type
|
||||
chain.displayDenomExponent >= 0 &&
|
||||
chain.assets?.length &&
|
||||
chain.gasPrice &&
|
||||
chain.addressPrefix,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user