diff --git a/src/app/mocks/handlers/hide.ts b/src/app/mocks/handlers/hide.ts index 3b93cd5..9a73fc9 100644 --- a/src/app/mocks/handlers/hide.ts +++ b/src/app/mocks/handlers/hide.ts @@ -1,6 +1,6 @@ import { http } from 'msw'; -import { ICancleHideResDTO, IHideFeedResDTO } from '@/entities/hide'; +import { ICancelHideResDTO, IHideFeedResDTO } from '@/entities/hide'; import { feedMockData } from '../data'; import { createHttpErrorResponse, createHttpSuccessResponse } from '../lib'; @@ -35,7 +35,7 @@ export const feedHandlers = [ if (cur.id === +feedId) cur.isBlinded = false; }); - return createHttpSuccessResponse({ + return createHttpSuccessResponse({ isHidden: false, }); }), diff --git a/src/entities/hide/model/hide.type.ts b/src/entities/hide/model/hide.type.ts index 1cd42e8..cb3519d 100644 --- a/src/entities/hide/model/hide.type.ts +++ b/src/entities/hide/model/hide.type.ts @@ -4,6 +4,6 @@ export interface IHideFeedResDTO { } // 피드 숨기기 취소 -export interface ICancleHideResDTO { +export interface ICancelHideResDTO { isHidden: boolean; }