diff options
author | eug-vs <eug-vs@keemail.me> | 2020-03-21 15:06:30 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-03-21 15:06:30 +0300 |
commit | f3a684937565f3bd94034f3389aa95fea908f0c4 (patch) | |
tree | c01492bf8c06dc5409f9d8a30e807786dea90308 /src/pages/Scoreboard | |
parent | de2a49bf1bf0e4c2f09ddcd0f2a86dff7062d8ea (diff) | |
download | chrono-cube-ui-f3a684937565f3bd94034f3389aa95fea908f0c4.tar.gz |
chore: fix linting errors :rotating_light:
Diffstat (limited to 'src/pages/Scoreboard')
-rw-r--r-- | src/pages/Scoreboard/Scoreboard.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/Scoreboard/Scoreboard.tsx b/src/pages/Scoreboard/Scoreboard.tsx index c6826d2..9b9ee01 100644 --- a/src/pages/Scoreboard/Scoreboard.tsx +++ b/src/pages/Scoreboard/Scoreboard.tsx @@ -34,13 +34,13 @@ const Scoreboard: React.FC = () => { const classes = useStyles(); const [solutions, setSolutions] = useState<Solution[]>([]); - const updateSolutions = () => { + const updateSolutions = (): void => { get('scoreboard/').then(response => { setSolutions(response.data); }); }; - const removeSolution = (id: number) => { + const removeSolution = (id: number): void => { updateSolutions(); }; |