Overnap
Builds for 1 pipeline passed in 8 minutes 1 second

RoomInfo와 RoundInfo 폴리싱

......@@ -10,7 +10,7 @@ interface RoomInfoProps {
export const RoomInfo: React.FC<RoomInfoProps> = ({ roomData }) => {
return (
<div className='m-3 mb-8 w-5/6 flex items-center place-content-between'>
<div className='m-3 my-8 w-5/6 flex items-center place-content-between'>
<div>{roomData.name}</div>
<div>{roomData.users.length}/{roomData.maxUsers}</div>
</div>
......
import React from 'react';
import SocketContext from '../../contexts/SocketContext';
import { Timer } from './Timer';
import { RoundData } from './types';
interface RoundInfoProps {
......@@ -10,9 +11,9 @@ interface RoundInfoProps {
export const RoundInfo: React.FC<RoundInfoProps> = ({ round, wordChosen }) => {
return (
<div className='p-3 m-3 h-14 rounded shadow flex items-center place-content-between'>
<div>대충 타이머 위치</div>
<Timer />
<div>{wordChosen}</div>
<div>R{round}</div>
<div>Round {round}/5</div>
</div>
);
}
\ No newline at end of file
......