|
@@ -2,9 +2,9 @@ import React, { useState } from 'react';
|
|
|
import { CSSTransition } from 'react-transition-group';
|
|
|
import styles from './App.module.css';
|
|
|
import GamePanel from './components/screens/GamePanel';
|
|
|
+import GameSummary from './components/screens/GameSummary';
|
|
|
import HomePage from './components/screens/HomePage';
|
|
|
import Lobby from './components/screens/Lobby';
|
|
|
-import PlayerScores from './components/screens/PlayerScores';
|
|
|
import RoundSummary from './components/screens/RoundSummary';
|
|
|
import ApiInfo from './components/util/ApiInfo';
|
|
|
import { ERROR, IN_ROUND, POST_GAME, POST_ROUND, PRE_GAME, PRE_ROUND } from './domain/GameState';
|
|
@@ -85,7 +85,7 @@ export default () => {
|
|
|
<RoundSummary />
|
|
|
</State>
|
|
|
<State show={gameState === POST_GAME} setTransitioning={setTransitioning}>
|
|
|
- <PlayerScores />
|
|
|
+ <GameSummary />
|
|
|
</State>
|
|
|
<State show={gameState === ERROR}>
|
|
|
<p>Application encountered unrecoverable error, please refresh the page.</p>
|