From 8fe4a5541ebbfeb8e69252cbb68bf17395a31dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=84=EC=A7=84=ED=98=B8?= Date: Fri, 9 Feb 2024 22:18:51 +0900 Subject: [PATCH] feat: add desc option --- src/routes/A/ATopics.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/routes/A/ATopics.tsx b/src/routes/A/ATopics.tsx index cf7dda5..e526436 100644 --- a/src/routes/A/ATopics.tsx +++ b/src/routes/A/ATopics.tsx @@ -14,7 +14,7 @@ import { ALogoIcon, UpDownChevronIcon } from '@icons/index'; import { Container } from './ATopics.styles'; const AlphaTopics = () => { - const { data } = useTopics({ side: 'TOPIC_A', sort: 'createdAt' }); + const { data } = useTopics({ side: 'TOPIC_A', sort: 'createdAt,DESC' }); const [topicFilter, setTopicFilter] = useState('진행중'); const [isMineOnly, setIsMineOnly] = useState(false); const [isLatest, setIsLatest] = useState(true); @@ -76,7 +76,6 @@ const AlphaTopics = () => { return (