From 16868aea1a7938a0f9b0e4b26241631e86fb272f Mon Sep 17 00:00:00 2001 From: sorrelbri Date: Fri, 10 Apr 2020 20:05:42 -0700 Subject: [PATCH] refactor to remove crufty renderOpenGame function from Game Button --- .../play-node-go/src/components/Button/Game/Game.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/play-node-go/src/components/Button/Game/Game.js b/packages/play-node-go/src/components/Button/Game/Game.js index 131500e..8b2ff92 100644 --- a/packages/play-node-go/src/components/Button/Game/Game.js +++ b/packages/play-node-go/src/components/Button/Game/Game.js @@ -35,19 +35,6 @@ const GameButton = (props) => { dispatch(requestAction); } - const renderOpenGame = () => { - return ( - <> -
requestJoinGame()} >Request to Join Game
- -
- {game.playerBlack} - {game.playerBlackRank} -
- - ) - } - const renderGame = () => { const { gameLinkText,