From 657d67c50329c4c197f8c9dc708a6ed2e1fc6f39 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Tue, 13 Sep 2022 11:58:04 -0500 Subject: [PATCH] Tweak --- web/components/arrange-home.tsx | 2 +- web/components/bets-list.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/components/arrange-home.tsx b/web/components/arrange-home.tsx index 25e814b8..212b358e 100644 --- a/web/components/arrange-home.tsx +++ b/web/components/arrange-home.tsx @@ -108,9 +108,9 @@ const SectionItem = (props: { export const getHomeItems = (groups: Group[], sections: string[]) => { const items = [ - { label: 'Daily movers', id: 'daily-movers' }, { label: 'Trending', id: 'score' }, { label: 'New for you', id: 'newest' }, + { label: 'Daily movers', id: 'daily-movers' }, ...groups.map((g) => ({ label: g.name, id: g.id, diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index ab232927..9c76174b 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -754,7 +754,10 @@ function SellButton(props: { ) } -function ProfitBadge(props: { profitPercent: number; className?: string }) { +export function ProfitBadge(props: { + profitPercent: number + className?: string +}) { const { profitPercent, className } = props if (!profitPercent) return null const colors =