Skip to content

Commit

Permalink
feat: add desc option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinho1011 committed Feb 9, 2024
1 parent cf39db3 commit 8fe4a55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/A/ATopics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -76,7 +76,6 @@ const AlphaTopics = () => {
return (
<ATopicCard
key={topic.topicId}
// chip="popular"
topicId={topic.topicId}
topicSide={'TOPIC_A'}
topicTitle={topic.topicTitle}
Expand Down

0 comments on commit 8fe4a55

Please sign in to comment.