Customize

This commit is contained in:
Nathaniel Parke 2021-05-20 11:42:47 +08:00
parent f7ab377271
commit 2690dc3722
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export default function SendDialog({ open, onClose, publicKey, balanceInfo }) {
const tabs = [
<Tab label={`SPL ${swapCoinInfo.ticker}`} key="spl" value="spl" />,
];
if (!DISABLED_ERC20_MINTS.has(mint.toString())) {
if (!DISABLED_ERC20_MINTS.has(mint.toString()) || localStorage.getItem('sollet-private')) {
tabs.push(erc20Tab);
}
return tabs;