diff options
-rw-r--r-- | src/index.tsx | 3 | ||||
-rw-r--r-- | src/pages/FormPage/FormPage.tsx | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/index.tsx b/src/index.tsx index 2565964..dad0f59 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -36,7 +36,7 @@ console.log(` SHA: %c ${process.env.COMMIT_REF} `, `padding: 2px; border-radiu console.log("%cCome join us on Discord! https://discord.gg/python", `font-size: 1.5em; font-family: "Hind", "Arial"; color: ${colors.blurple}`); const rootDocument = document.getElementById("root"); -// eslint-disable-next-line @typescript-eslint/no-non-null-assertion + const root = createRoot(rootDocument!); root.render( <React.StrictMode> @@ -55,6 +55,5 @@ root.render( </Sentry.ErrorBoundary> </React.StrictMode> ); -/* eslint-enable react/react-in-jsx-scope */ serviceWorker.unregister(); diff --git a/src/pages/FormPage/FormPage.tsx b/src/pages/FormPage/FormPage.tsx index 05b51c0..9ffa4fc 100644 --- a/src/pages/FormPage/FormPage.tsx +++ b/src/pages/FormPage/FormPage.tsx @@ -69,7 +69,6 @@ function FormPage(): JSX.Element { useEffect(() => { // ID can't be null due to the routing to get here - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion getForm(id!).then(form => { setForm(form); setFormLoading(LoadingState.Found); |