remove commented code
This commit is contained in:
parent
0e4d180131
commit
bbb569308b
|
@ -23,7 +23,6 @@ const PerpMarketDetails = ({
|
|||
setShowPerpDetails: (x: PerpMarket | null) => void
|
||||
}) => {
|
||||
const { t } = useTranslation(['common', 'trade'])
|
||||
// const perpMarkets = mangoStore((s) => s.perpMarkets)
|
||||
const perpStats = mangoStore((s) => s.perpStats.data)
|
||||
const loadingPerpStats = mangoStore((s) => s.perpStats.loading)
|
||||
const [priceDaysToShow, setPriceDaysToShow] = useState('30')
|
||||
|
@ -32,10 +31,6 @@ const PerpMarketDetails = ({
|
|||
const [instantFundingDaysToShow, setInstantFundingDaysToShow] = useState('30')
|
||||
const rate = usePerpFundingRate()
|
||||
|
||||
// const perpMarket = useMemo(() => {
|
||||
// return perpMarkets.find((m) => (m.name = perpMarketName))
|
||||
// }, [perpMarkets, perpMarketName])
|
||||
|
||||
const [marketStats, lastStat] = useMemo(() => {
|
||||
if (!perpStats) return [undefined, undefined]
|
||||
const stats = perpStats
|
||||
|
|
Loading…
Reference in New Issue