From 9de8ffaa2d93c5eaa94afdb4503f47da3d46d4a3 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sun, 29 May 2022 10:46:05 +0200 Subject: [PATCH] Some Cleaup. --- frontend/src/App.js | 3 --- frontend/src/components/Gamenight.jsx | 1 - frontend/src/components/Gamenights.jsx | 4 +++- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index d2164e6..211c285 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -100,9 +100,6 @@ function App() { setUser(JSON.parse(localStorage.getItem(localStorageUserKey))); }, []); - - console.log(activeGamenight); - if(user === null) { return (
diff --git a/frontend/src/components/Gamenight.jsx b/frontend/src/components/Gamenight.jsx index da56d99..2664163 100644 --- a/frontend/src/components/Gamenight.jsx +++ b/frontend/src/components/Gamenight.jsx @@ -1,7 +1,6 @@ import * as React from 'react'; function Gamenight(props) { - console.log(props.gamenight); let games = props.gamenight.game_list.map(g => ( diff --git a/frontend/src/components/Gamenights.jsx b/frontend/src/components/Gamenights.jsx index 0f843a2..bf54a28 100644 --- a/frontend/src/components/Gamenights.jsx +++ b/frontend/src/components/Gamenights.jsx @@ -36,7 +36,9 @@ function Gamenights(props) {
  • props.onSelectGamenight(g)}> {g.name} {(props.user.id === g.owner_id || props.user.role === "Admin") && - + }
  • )