From c179019504a4601dfb70ded9a61799da711b8232 Mon Sep 17 00:00:00 2001
From: Joni Laukka <jonilaukka@hotmail.com>
Date: Sun, 14 Jul 2019 20:10:37 +0300
Subject: [PATCH] Removed edit game button from game card

---
 src/components/GameCard.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/GameCard.js b/src/components/GameCard.js
index 0a3f5a4..12f7058 100644
--- a/src/components/GameCard.js
+++ b/src/components/GameCard.js
@@ -57,13 +57,13 @@ export default class GameCard extends React.Component {
         >
           <button type="button">Select</button>
         </Link>
-        <button
+        {/* <button
           id="editGameButton"
           onClick={() => this.setState({ editForm: true })}
         >
           Edit
-        </button>
-        {this.state.editForm && (
+        </button> */}
+        {/* {this.state.editForm && (
           <EditGameForm
             gameId={this.state.gameInfo.id}
             toggleView={() => this.setState({ editForm: false })}
@@ -72,7 +72,7 @@ export default class GameCard extends React.Component {
               this.getGameInfo();
             }}
           />
-        )}
+        )} */}
       </div>
     );
   }
-- 
GitLab