Commit 7e6cb0ea authored by Chunchi Che's avatar Chunchi Che

update WaitRoom.tsx

parent c53d5c21
Pipeline #23011 passed with stages
in 14 minutes and 19 seconds
...@@ -136,9 +136,12 @@ export const Component: React.FC = () => { ...@@ -136,9 +136,12 @@ export const Component: React.FC = () => {
) )
} }
/> />
{room.players
.filter((player) => player !== undefined && !player.isMe)
.map((player) => (
<PlayerZone <PlayerZone
who={Who.Op} who={Who.Op}
player={op} player={player}
btn={ btn={
room.stage === RoomStage.WAITING ? ( room.stage === RoomStage.WAITING ? (
<></> <></>
...@@ -154,6 +157,7 @@ export const Component: React.FC = () => { ...@@ -154,6 +157,7 @@ export const Component: React.FC = () => {
) )
} }
/> />
))}
</div> </div>
<ActionButton <ActionButton
onMoraSelect={(mora) => { onMoraSelect={(mora) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment