diff --git a/webclient/src/Home.js b/webclient/src/Home.js index 8b6f54b..429ed37 100644 --- a/webclient/src/Home.js +++ b/webclient/src/Home.js @@ -145,7 +145,7 @@ export function Home(props) { console.log(err); setStats(false); }); - }, [refreshCount]); + }, [refreshCount, token]); const getStat = (x) => stats && stats[x] ? stats[x] : '?'; const getZeroStat = (x) => stats && stats[x] ? stats[x] : '0';