From ffb98a475f463fbf9f8e1b95cae06e01d3b8598f Mon Sep 17 00:00:00 2001 From: jiohjung98 Date: Sun, 9 Jun 2024 20:37:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=82=AE=EC=9D=80=20->=20=EC=A0=81?= =?UTF-8?q?=EC=9D=80,=20=EB=86=92=EC=9D=80=20->=20=EB=A7=8E=EC=9D=80=20?= =?UTF-8?q?=EC=9D=B8=EC=9B=90=EC=88=9C=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reservation/meetingRoom/MeetingRoomIndex.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx b/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx index dd290f6..d1a3e70 100644 --- a/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx +++ b/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx @@ -71,7 +71,7 @@ const MeetingRoomIndex: React.FC = () => { const [sortTarget, setSortTarget] = useState<'roomCapacity' | 'roomFloor'>('roomCapacity'); const [sortDirection, setSortDirection] = useState<'ASC' | 'DESC'>('ASC'); const [dropdownOpen, setDropdownOpen] = useState(false); - const [selectedSortOption, setSelectedSortOption] = useState('낮은 인원 순'); + const [selectedSortOption, setSelectedSortOption] = useState('적은 인원 순'); const [showToast, setShowToast] = useState(false); const [toastMessage, setToastMessage] = useState(null); @@ -97,7 +97,7 @@ const MeetingRoomIndex: React.FC = () => { const initialParams = setInitialParams(startAt, endAt, currentBranch.branchName); setParams(initialParams); - setSelectedSortOption('낮은 인원 순'); + setSelectedSortOption('적은 인원 순'); }, [currentBranch]); const fetchMeetingRooms = async (params: GetMeetingRoomsParams) => { @@ -234,7 +234,7 @@ const MeetingRoomIndex: React.FC = () => { setDropdownOpen(false); if (target === 'roomCapacity') { - setSelectedSortOption(direction === 'ASC' ? '낮은 인원 순' : '높은 인원 순'); + setSelectedSortOption(direction === 'ASC' ? '적은 인원 순' : '많은 인원 순'); } else { setSelectedSortOption(direction === 'ASC' ? '낮은 층 수' : '높은 층 수'); } @@ -327,14 +327,14 @@ const MeetingRoomIndex: React.FC = () => { className={`block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 ${sortTarget === 'roomCapacity' && sortDirection === 'ASC' ? 'text-indigo-700' : ''}`} role="menuitem" > - 낮은 인원 순 + 적은 인원 순