From b4b16825e081771491e2d2f69100552616c8116f Mon Sep 17 00:00:00 2001 From: JeonYumin <40783675+JeonYumin94@users.noreply.github.com> Date: Thu, 1 Aug 2024 16:27:01 +0900 Subject: [PATCH] =?UTF-8?q?FE-27=20:fire:=20=ED=8F=B4=EB=8D=94=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20=ED=9B=84=20=EC=82=AD=EC=A0=9C=20=EC=95=88=EB=90=9C?= =?UTF-8?q?=20=EA=B8=B0=EC=A1=B4=20=ED=8C=8C=EC=9D=BC=20=EC=82=AD=EC=A0=9C?= =?UTF-8?q?=20(#148)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/queries.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/apis/queries.ts b/src/apis/queries.ts index ea2d7ff2..4bcb6463 100644 --- a/src/apis/queries.ts +++ b/src/apis/queries.ts @@ -48,25 +48,6 @@ const queries = createQueryKeyStore({ queryFn: () => getMyEpigramComments(request), }), }, - // NOTE: Epigram 관련 query함수 - epigram: { - getEpigram: (request: EpigramRequestType) => ({ - queryKey: ['epigram', request.id, request], - queryFn: () => { - if (request.id === undefined) { - throw new Error('Epigram ID가 제공되지 않았습니다.'); - } - return getEpigram(request); - }, - enabled: request.id !== undefined, - }), - }, - epigramComment: { - getComments: (request: CommentRequestType) => ({ - queryKey: ['epigramComments', request], - queryFn: () => getEpigramComments(request), - }), - }, emotion: { getMonthlyEmotionLogs: (request: GetMonthlyEmotionLogsRequestType) => ({ queryKey: ['getMonthlyEmotionLogs', request],