Fix lint errors

Manually fix all lint errors.
Some errors could not be fixed, a TODO comment was added.

To fix errors caused by `react-hooks/exhaustive-deps`, missing
dependencies were added to the dependencies array of some `useEffect`
calls.
We need to make sure that all `useEffect` call work as intended before
merging

Gitlab: #29
Change-Id: I939a99b0be53795ecc28d25b5067f037403f5e08
diff --git a/client/src/index.js b/client/src/index.js
index 51e6676..2d4d46b 100644
--- a/client/src/index.js
+++ b/client/src/index.js
@@ -43,6 +43,8 @@
 if (import.meta.webpackHot)
   import.meta.webpackHot.accept('./App', () => {
     try {
+      // TODO: This needs be fixed
+      // eslint-disable-next-line no-undef
       render(App);
     } catch (e) {
       location.reload();