From 366f1b356eb5c2a278b84ecf5502e16f797facbd Mon Sep 17 00:00:00 2001 From: Joni Laukka <joni.laukka.overflow@gmail.com> Date: Thu, 18 Jul 2019 10:47:04 +0300 Subject: [PATCH] removed unused prop call --- src/components/GameList.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/GameList.js b/src/components/GameList.js index ab5550f..c7df36e 100644 --- a/src/components/GameList.js +++ b/src/components/GameList.js @@ -35,8 +35,6 @@ class GameList extends React.Component { ? games[0].id : undefined }); - // taking the initialized gameID to App.js (GameList.js -> GameSidebar.js -> Header.js -> App.js) - this.props.handleGameChange(games[0].id); }) .catch(error => { console.log(error); -- GitLab