소스 검색

Fix spacing in game explanation

Kirk Trombley 5 년 전
부모
커밋
bb491480d1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      client/src/components/screens/Lobby/Lobby.jsx

+ 2 - 2
client/src/components/screens/Lobby/Lobby.jsx

@@ -23,14 +23,14 @@ const GameInfo = () => {
       break;
     case NORMAL: // fall-through
     default:
-      timeExplanation = `${rounds !== 1 ? ", each" : ""}with a ${ms(timer * 1000)} time limit`;
+      timeExplanation = `${rounds !== 1 ? ", each" : ""} with a ${ms(timer * 1000)} time limit`;
       break;
   }
 
   return (
     <>
       <span className={styles.label}>
-        Game will run for {rounds} round{rounds !== 1 && 's'} {timeExplanation}
+        Game will run for {rounds} round{rounds !== 1 && 's'}{timeExplanation}
       </span>
       {onlyAmerica && (
         <span className={styles.label}>This game will only use locations within the United States of America</span>