From 5a2c27cd782fd64eb55b943f7ea3740ee7d34983 Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Sat, 24 Feb 2024 18:30:22 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=82=98=EB=88=94=20=EB=AA=A9=EB=A1=9D?= =?UTF-8?q?=20=EC=A1=B0=ED=9A=8C=20API=20type=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/queries/share/useGetShares.ts | 4 +++- src/pages/share/index.tsx | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hooks/queries/share/useGetShares.ts b/src/hooks/queries/share/useGetShares.ts index f6a55ed..fbcbb5a 100644 --- a/src/hooks/queries/share/useGetShares.ts +++ b/src/hooks/queries/share/useGetShares.ts @@ -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'; diff --git a/src/pages/share/index.tsx b/src/pages/share/index.tsx index 252a67f..d4686d4 100644 --- a/src/pages/share/index.tsx +++ b/src/pages/share/index.tsx @@ -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';