Skip to content

Commit

Permalink
feat: useFetchDataBySearch 훅에 검색 결과를 불러오는 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
biud436 committed Jan 2, 2025
1 parent a4db93f commit 85f165f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hooks/api/useFetchDataBySearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { mutate } from 'swr';
import { useQueryClient } from '@tanstack/react-query';
import { PostsSearchType } from '@/models/PostsSearchType';

/**
* 검색 결과를 불러오는 훅
*/
export function useFetchDataBySearch() {
const categoryService = useCategoryService();
const postsStore = usePostsStore();
Expand Down

0 comments on commit 85f165f

Please sign in to comment.