Skip to content

Commit

Permalink
방 정보가 없을 때 빈 div 그리기
Browse files Browse the repository at this point in the history
  • Loading branch information
tirr-c committed Apr 22, 2023
1 parent 0011754 commit 90a820c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/components/RoomList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ export default function RoomList(props: Props) {

const rooms = useRoomList();
if (rooms == null) {
return null;
return (
<div />
);
}

const listItems = [];
Expand Down

0 comments on commit 90a820c

Please sign in to comment.