diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-01-06 02:32:57 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-01-06 02:32:57 +0300 |
commit | 24e4834ba333cba4adaa79bd2af01773d5825c75 (patch) | |
tree | 055fa498f1958d2455050e0a45b5a2baa544bae9 /src/components | |
parent | a12e47a66fc24a9259a79df27130230d587821c1 (diff) | |
download | chrono-cube-ui-24e4834ba333cba4adaa79bd2af01773d5825c75.tar.gz |
Use appropriate API for scoreboard
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Scoreboard/Scoreboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |