From a4b00d2a07aa4047541f8d666e7674ad2635502d Mon Sep 17 00:00:00 2001 From: Alina Lytovchenko Date: Mon, 23 Dec 2024 17:06:05 -0800 Subject: [PATCH] fix: change default sort type --- src/components/layout/ContentHome.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/ContentHome.tsx b/src/components/layout/ContentHome.tsx index 61c4642..62ede31 100644 --- a/src/components/layout/ContentHome.tsx +++ b/src/components/layout/ContentHome.tsx @@ -14,7 +14,7 @@ type SortType = 'value' | 'id'; export default function ContentHome() { const [display, setDisplay] = useState('open'); - const [sortType, setSortType] = useState('id'); + const [sortType, setSortType] = useState('value'); const chain = useGetChain(); const bounties = trpc.bounties.useInfiniteQuery(