From 24e4834ba333cba4adaa79bd2af01773d5825c75 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 6 Jan 2020 02:32:57 +0300 Subject: Use appropriate API for scoreboard --- src/components/Scoreboard/Scoreboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/Scoreboard/Scoreboard.js b/src/components/Scoreboard/Scoreboard.js index 96a8543..e4849ec 100644 --- a/src/components/Scoreboard/Scoreboard.js +++ b/src/components/Scoreboard/Scoreboard.js @@ -25,7 +25,7 @@ const Scoreboard = () => { const [solutions, setSolutions] = useState([]); const updateSolutions = () => { - get('solutions/').then(response => { + get('scoreboard/').then(response => { setTimeout(() => { setSolutions(response.data); }, 300); -- cgit v1.2.3