diff --git a/components/BalancesTable.tsx b/components/BalancesTable.tsx index 768b7928..e2afc536 100644 --- a/components/BalancesTable.tsx +++ b/components/BalancesTable.tsx @@ -23,6 +23,7 @@ import { useRouter } from 'next/router' const BalancesTable = ({ showZeroBalances = false, showDepositWithdraw = false, + clickToPopulateTradeForm = false, }) => { const { t } = useTranslation('common') const [showDepositModal, setShowDepositModal] = useState(false) @@ -398,7 +399,7 @@ const BalancesTable = ({ {marketConfig.kind === 'spot' && marketConfig.name.includes(balance.symbol) && selectedMarket && - decodeURIComponent(asPath).includes(`name`) ? ( // disable this in account page + clickToPopulateTradeForm ? ( { case 'Orders': return case 'Balances': - return + return case 'Trade History': return case 'Positions': @@ -63,7 +63,7 @@ const TabContent = ({ activeTab }) => { case 'Fee Discount': return default: - return + return } } diff --git a/tailwind.config.js b/tailwind.config.js index ed57296b..921feb45 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -56,7 +56,7 @@ module.exports = { 'fgd-2': '#C8C8C8', 'fgd-3': '#B3B3B3', 'fgd-4': '#878787', - 'bkg-button': '#52514E', + 'bkg-button': '#4E5152', }, 'mango-theme': { yellow: {