Skip to content

Commit

Permalink
Merge pull request #177 from bsideproject/moon
Browse files Browse the repository at this point in the history
[feat] RoomList Page 수정
  • Loading branch information
KinDDoGGang authored Oct 1, 2023
2 parents b38d4d7 + 966a40a commit 2b489d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function Home() {
There are <span className="text-r1">{`${rooms.length} rooms`}</span> in total!
</Typography>
{rooms.map((room, idx) => (
// Nav 영역 맨 마지막 부분 잘리는 문제로 추가
// Nav 영역 맨 마지막 부분 잘리는 문제로 추가!!
<div className={`mt-[20px] ${rooms.length - 1 === idx ? 'mb-[83px]' : ''}`} key={`room-${idx}`}>
<RoomCard room={room} onClick={() => handleCardClick(idx)} />
</div>
Expand Down

0 comments on commit 2b489d7

Please sign in to comment.