diff --git a/src/components/DepositDialog.js b/src/components/DepositDialog.js index 4382fc0..ed17c77 100644 --- a/src/components/DepositDialog.js +++ b/src/components/DepositDialog.js @@ -30,6 +30,8 @@ import Tab from '@material-ui/core/Tab'; import { DialogContentText, Tooltip } from '@material-ui/core'; import { EthFeeEstimate } from './EthFeeEstimate'; +const DISABLED_MINTS = new Set(['ABE7D8RU1eHfCJWzHYZZeymeE8k9nPPXfqge2NQYyKoL']); + export default function DepositDialog({ open, onClose, @@ -63,7 +65,8 @@ export default function DepositDialog({ indicatorColor="primary" > - + {(!DISABLED_MINTS.has(mint.toString()) || + localStorage.getItem('sollet-private')) && } ); } diff --git a/src/components/SendDialog.js b/src/components/SendDialog.js index 3cc94e9..6a4c708 100644 --- a/src/components/SendDialog.js +++ b/src/components/SendDialog.js @@ -48,7 +48,8 @@ const WUSDT_MINT = new PublicKey( const USDT_MINT = new PublicKey('Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB'); const DISABLED_ERC20_MINTS = new Set([ - 'kinXdEcpDQeHPEuQnqmUgtYykqKGVFq6CeVX5iAHJq6' + 'kinXdEcpDQeHPEuQnqmUgtYykqKGVFq6CeVX5iAHJq6', + 'ABE7D8RU1eHfCJWzHYZZeymeE8k9nPPXfqge2NQYyKoL', ]) export default function SendDialog({ open, onClose, publicKey, balanceInfo }) {