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..41a5cc6 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-ignore 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..fdb9487 100644 --- a/src/pages/auth/signin.tsx +++ b/src/pages/auth/signin.tsx @@ -48,7 +48,8 @@ export default function Signin(): ReactElement {