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: [], });