You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a rendering error on the MyLiquidity page if a user holds tokens that are not known
This appears to be partly a TypeScript issue: the token Type from the below code is Token not Token | undefined
// allUserTokensList is type Token[]consttokenIndex=allUserTokensList.findIndex(matchTokenDenom(denom));consttoken=allUserTokensList[tokenIndex];
This is a long and divisive issue in TypeScript microsoft/TypeScript#13778 because flagged all items found by index can be problematic in many places that they are expected to be known. However as a resolution, a --noUncheckedIndexedAccess flag can be used to turn on checking for this.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
There is a rendering error on the MyLiquidity page if a user holds tokens that are not known
This appears to be partly a TypeScript issue: the
token
Type from the below code isToken
notToken | undefined
This is a long and divisive issue in TypeScript microsoft/TypeScript#13778 because flagged all items found by index can be problematic in many places that they are expected to be known. However as a resolution, a
--noUncheckedIndexedAccess
flag can be used to turn on checking for this.The text was updated successfully, but these errors were encountered: