remove old env var
This commit is contained in:
parent
d7b3827e66
commit
34cc9cd59e
|
@ -10,10 +10,7 @@ import SpotMarketsTable from './SpotMarketsTable'
|
|||
import TokenStats from './TokenStats'
|
||||
|
||||
// const TABS = ['tokens', 'perp', 'spot', 'mango']
|
||||
const TABS =
|
||||
process.env.NEXT_PUBLIC_SHOW_PERPS === 'true'
|
||||
? ['tokens', 'perp', 'spot', 'mango']
|
||||
: ['tokens', 'spot', 'mango']
|
||||
const TABS = ['tokens', 'perp', 'spot', 'mango']
|
||||
|
||||
const StatsPage = () => {
|
||||
const [activeTab, setActiveTab] = useState('tokens')
|
||||
|
|
|
@ -10,8 +10,7 @@ import { useMemo, useState } from 'react'
|
|||
import { DEFAULT_MARKET_NAME } from 'utils/constants'
|
||||
import MarketLogos from './MarketLogos'
|
||||
|
||||
const isTesting = process.env.NEXT_PUBLIC_SHOW_PERPS === 'true'
|
||||
const TAB_VALUES = isTesting ? ['spot', 'perp'] : ['spot']
|
||||
const TAB_VALUES = ['spot', 'perp']
|
||||
|
||||
const MarketSelectDropdown = () => {
|
||||
const { selectedMarket } = useSelectedMarket()
|
||||
|
|
Loading…
Reference in New Issue