import React from 'react'; import { dispatch } from '../../../domain/gameStore'; import { hasSavedGameInfo } from '../../../domain/localStorageMethods'; import DelayedButton from '../../util/DelayedButton'; import GameCreationForm from '../../util/GameCreationForm'; import styles from './HomePage.module.css'; const Rejoin = () => (
Looks like you were in a game before that you didn't finish! dispatch.rejoinGame()} countDownFormatter={(rem) => `Rejoining in ${rem}s...`}> Rejoin Game?
); export default () => (
dispatch.goToLobby(gameId)} /> {hasSavedGameInfo() && }
);