Skip to content

Commit

Permalink
fix: filter out prediction market (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosepuppy authored Oct 9, 2024
1 parent dded7ef commit 7d4bf65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/useMarketsData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ export const useMarketsData = (
const markets = useMemo(() => {
const listOfMarkets = Object.values(allPerpetualMarkets)
.filter(isTruthy)
// temporary filterout TRUMPWIN until the backend is working
.filter((m) => m.assetId !== 'TRUMPWIN')
.map((marketData): MarketData => {
const sevenDaySparklineEntries = sevenDaysSparklineData?.[marketData.id]?.length ?? 0;
const isNew = Boolean(
Expand Down

0 comments on commit 7d4bf65

Please sign in to comment.