content: import React from 'react';
  import { connect } from 'react-redux';
  import { gameActions } from './stateManagement/actions';
  import './Game.css';
  
  class Game extends React.Component {
    componentDidMount() {
      const { startGame } = this.props;
      setTimeout(startGame, 5000);
    }
  
    render() {
      return (
          <div className="App">
            {this.props.isGame ? '👍' : '👎'}
          </div>
      );
    }
  }
  
  const mapStateToProps = state => {
    return {
      isGame: state.game.isGame,
    }
  };
  
  const mapDispatchToProps = dispatch => ({
    startGame: () => dispatch(gameActions.startGame())
  });
  
  export default connect(mapStateToProps, mapDispatchToProps)(Game);
  