aboutsummaryrefslogtreecommitdiff
path: root/src/pages/Scoreboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/Scoreboard')
-rw-r--r--src/pages/Scoreboard/Scoreboard.tsx4
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();
};