Skip to content

Commit

Permalink
新增顯示房間名稱&調整房主名稱位置
Browse files Browse the repository at this point in the history
  • Loading branch information
dawnglede committed Oct 12, 2023
1 parent 576af68 commit d9f042c
Show file tree
Hide file tree
Showing 5 changed files with 11,133 additions and 6,658 deletions.
9 changes: 6 additions & 3 deletions packages/frontend/js/components/RoomList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@ const RoomList = () => {
{loading && <div>loading ...</div>}
{dataSource?.map((room, index) => (
<div className='list__card' key={index}>
<div className='avatar'></div>
<div className='host'>
<div className='title'>房主</div>
<div className='detail'>{room.holderName}</div>
<div className='avatar'></div>
<div className='name'>{room.holderName}</div>
</div>
<div className='room-name'>
<div className='title'>房間名稱</div>
<div className='detail'>{room.gameName}</div>
</div>
<div className='players'>
<div className='title'>人數</div>
Expand Down
Loading

0 comments on commit d9f042c

Please sign in to comment.