bridge_ui: remove bad nft check
Change-Id: I72391812f417c8dbc74ebe960fce1fc6840a7b59
This commit is contained in:
parent
7ad15fbfc4
commit
5fb7b923bf
|
@ -214,10 +214,7 @@ export const selectTransferSourceError = (
|
||||||
if (!state.transfer.sourceParsedTokenAccount.uiAmountString) {
|
if (!state.transfer.sourceParsedTokenAccount.uiAmountString) {
|
||||||
return "Token amount unavailable";
|
return "Token amount unavailable";
|
||||||
}
|
}
|
||||||
if (state.transfer.sourceParsedTokenAccount.decimals === 0) {
|
// no NFT check - NFTs should be blocked by all token pickers
|
||||||
// TODO: more advanced NFT check - also check supply and uri
|
|
||||||
return "For NFTs, use the NFT flow";
|
|
||||||
}
|
|
||||||
try {
|
try {
|
||||||
// these may trigger error: fractional component exceeds decimals
|
// these may trigger error: fractional component exceeds decimals
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue