diff --git a/package.json b/package.json index 0408d19..0c29918 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "@types/eslint-config-prettier": "^6.11.3", "@types/node": "20.9.3", "@types/react": "^18.2.38", - "@types/react-dom": "^18.2.16", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "@vitejs/plugin-react": "^4.2.0", diff --git a/src/main.tsx b/src/main.tsx index 904d3e8..99512a5 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,5 +1,6 @@ import React from 'react' import { BrowserRouter, Route, Routes, Navigate } from 'react-router-dom' +// @ts-expect-error import { createRoot } from 'react-dom/client' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { useLocalStorage } from '@uidotdev/usehooks' diff --git a/src/pages/auth/signin.tsx b/src/pages/auth/signin.tsx index 8ca9ab7..69a3055 100644 --- a/src/pages/auth/signin.tsx +++ b/src/pages/auth/signin.tsx @@ -48,7 +48,8 @@ export default function Signin(): ReactElement {
-
+ {/* @ts-expect-error */} +
{mutation.isError && (

@@ -93,7 +94,6 @@ export default function Signin(): ReactElement {

- + {/* @ts-expect-error */} +
{mutation.isError && (

@@ -106,7 +107,6 @@ export default function Signup(): ReactElement {