From 1f2663870e9b0546f076829243432a2c31761ece Mon Sep 17 00:00:00 2001 From: young Date: Thu, 27 Feb 2025 22:38:22 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20dto=20=EA=B4=80=EB=A0=A8=20=EB=B9=8C?= =?UTF-8?q?=EB=93=9C=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/matching/index.ts | 4 ---- src/recoil/Chats/AllMessages.ts | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/apis/matching/index.ts b/src/apis/matching/index.ts index cb0c62ca..aa628ac5 100644 --- a/src/apis/matching/index.ts +++ b/src/apis/matching/index.ts @@ -3,7 +3,6 @@ import { newRequest } from '@apis/core'; import type { CreateMatchingRequest, CreateMatchingResponse, - GetMatchingListResponse, ModifyMatchingStatusRequest, ModifyMatchingStatusResponse, } from './dto'; @@ -12,9 +11,6 @@ import type { export const createMatchingApi = (data: CreateMatchingRequest) => newRequest.post('/matching', data); -// 매칭 리스트 조회 -export const getMatchingListApi = () => newRequest.get('/matching'); - // 매칭 요청 수락 및 거절 export const modifyMatchingStatusApi = (matchingId: number, data: ModifyMatchingStatusRequest) => newRequest.patch(`/matching/${matchingId}`, data); diff --git a/src/recoil/Chats/AllMessages.ts b/src/recoil/Chats/AllMessages.ts index e774fffc..f833503d 100644 --- a/src/recoil/Chats/AllMessages.ts +++ b/src/recoil/Chats/AllMessages.ts @@ -1,8 +1,8 @@ import { atom } from 'recoil'; -import type { chatRoomMessagesData } from '@apis/chatting/dto'; +import type { ChatRoomMessagesData } from '@apis/chatting/dto'; -export const AllMesagesAtom = atom({ +export const AllMesagesAtom = atom({ key: 'allMessagesAtom', default: [], });