Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: AllTopics Query key 수정 및 시맨틱 태그 수정
Browse files Browse the repository at this point in the history
semnil5202 committed Jan 13, 2024
1 parent 0efd169 commit fb7234b
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/apiHooks/new/useGetNewestTopics.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import { getNewestTopics } from '../../apis/new';

const useGetNewestTopics = () => {
const { isLoading, data: newestTopics } = useQuery({
queryKey: ['NewestTopics'],
queryKey: ['GetNewestTopics'],
queryFn: getNewestTopics,
});

2 changes: 1 addition & 1 deletion frontend/src/pages/SeeAllLatestTopics.tsx
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ function SeeAllLatestTopics() {
);

return (
<Wrapper as="section">
<Wrapper>
<Space size={5} />
<MediaText
as="h2"

0 comments on commit fb7234b

Please sign in to comment.