Skip to content

Commit

Permalink
fix: 나눔 목록 조회 API type 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeseon-han committed Feb 24, 2024
1 parent 8a20c42 commit 5a2c27c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hooks/queries/share/useGetShares.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { type ShareStatusType, type ShareSortType } from '@/types/friendship';
import type { ShareSortType, ShareStatusType } from '@/types/friendship';

import type { ShareData } from '@/types/share';
import { queryKeys } from '../queryKeys';
import { useBaseInfiniteQuery } from '../useBaseInfiniteQuery';

Expand Down
1 change: 1 addition & 0 deletions src/pages/share/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Header from '@/components/organisms/Header';
import Link from 'next/link';
import type { NextPage } from 'next';
import { PlusIcon } from '@/assets/icons';
import { type ShareData } from '@/types/share';
import ShareListItem from '@/components/organisms/ShareListItem';
import { SuspenseFallback } from '@/components/templates';
import { useGetShares } from '@/hooks/queries/share';
Expand Down

0 comments on commit 5a2c27c

Please sign in to comment.