refactor to remove crufty renderOpenGame function from Game Button

This commit is contained in:
sorrelbri 2020-04-10 20:25:11 -07:00
parent bf836d50d7
commit 0368325199

View file

@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
import './Game.scss'; import './Game.scss';
const GameButton = (props) => { const GameButton = (props) => {
const { game, dispatch, user } = props; const { game, user } = props;
const setGameDisplayData = () => { const setGameDisplayData = () => {
const gameData = { const gameData = {