Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 검색 페이지 api response 타입 수정 #212

Merged
merged 6 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/RoomList/components/RoomAccordion.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { clsx } from 'clsx';
import { useMoveRoute } from '@/core/hooks';
import useHover from '@/core/hooks/useHover';
import { Room } from '@/RoomList/mocks/types/rooms';
import { Room } from '@/core/types';
import roomListStyle from '@/RoomList/styles/roomListStyle';
import { Accordion, AccordionHeader, AccordionBody } from '@/shared/Accordion';
import { RoomSummary } from '@/RoomSummary';
Expand All @@ -14,7 +14,7 @@ interface RoomAccordionProps {
}

const RoomAccordion = ({ room }: RoomAccordionProps) => {
const { routine, id } = room;
const { routines, id } = room;
const moveTo = useMoveRoute();
const [hoverRef, hovered] = useHover<HTMLDivElement>();
const keyword = useKeyword();
Expand Down Expand Up @@ -48,7 +48,7 @@ const RoomAccordion = ({ room }: RoomAccordionProps) => {
>
<div className="p-4 pt-5">
<RoutineList>
{routine.map(({ routineId, content }) => (
{routines.map(({ routineId, content }) => (
<RoutineItem key={routineId}>
<KeywordText
content={content}
Expand Down
108 changes: 0 additions & 108 deletions src/RoomList/mocks/totalRooms.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/RoomList/mocks/types/myJoinRoom.d.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/RoomList/mocks/types/rooms.ts

This file was deleted.

Loading