diff --git a/client/src/components/Game.js b/client/src/components/Game.js index d8ab02a..f755a09 100644 --- a/client/src/components/Game.js +++ b/client/src/components/Game.js @@ -3,6 +3,7 @@ import PACK_OF_CARDS from '../utils/packOfCards' import shuffleArray from '../utils/shuffleArray' import io from 'socket.io-client' import queryString from 'query-string' +import { Redirect } from 'react-router-dom' //NUMBER CODES FOR ACTION CARDS //SKIP - 404 @@ -706,7 +707,11 @@ const Game = (props) => { {(!roomFull) ? <>