Add null mint check for disabled deposit mints
This commit is contained in:
parent
73c0e95018
commit
80b425c2f5
|
@ -65,7 +65,7 @@ export default function DepositDialog({
|
|||
indicatorColor="primary"
|
||||
>
|
||||
<Tab label={firstTab} />
|
||||
{(!DISABLED_MINTS.has(mint.toString()) ||
|
||||
{(!DISABLED_MINTS.has(mint && mint.toString()) ||
|
||||
localStorage.getItem('sollet-private')) && <Tab label={secondTab} />}
|
||||
</Tabs>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue