refactor to remove crufty renderOpenGame function from Game Button
This commit is contained in:
parent
bf836d50d7
commit
0368325199
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue