Skip to content

Commit

Permalink
๐Ÿšš Rename : ๋ฃธ ์ปดํฌ๋„ŒํŠธ ํด๋” ์ด๋™ #151
Browse files Browse the repository at this point in the history
  • Loading branch information
eunjju2 committed Jan 9, 2025
1 parent 09752c6 commit f344697
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 174 deletions.
171 changes: 0 additions & 171 deletions src/components/RoomForm.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/pages/ModifySpace/components/RoomModify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import useGetRoomListInfo from '../hooks/useGetRoomListInfo';
import usePostRoom from '../hooks/usePostRoom';
import usePutRoom from '../hooks/usePutRoom';

interface RoomFormProps {
interface RoomModifyProps {
room: Room;
updateRoomData: (data: Partial<Room>) => void;
completeAdd: (id: string) => void;
}

const RoomModify = ({ room, updateRoomData, completeAdd }: RoomFormProps) => {
const RoomModify = ({ room, updateRoomData, completeAdd }: RoomModifyProps) => {
const handleChange = (
e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
) => {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/RegisterSpace/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useCallback, useState } from 'react';
import { v4 as uuidv4 } from 'uuid';
import { Room, Space } from '@typings/types';
import SpaceForm from './components/SpaceForm';
import RoomForm from '../../components/RoomForm';
import RoomForm from './components/RoomForm';

const RegisterSpace = () => {
// ๊ณต๊ฐ„ ๋“ฑ๋ก + ๋ฃธ ํผ ์ƒํƒœ๊ด€๋ฆฌ
Expand Down

0 comments on commit f344697

Please sign in to comment.