diff --git a/src/App.tsx b/src/App.tsx index c1267d3..51b3abc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -161,7 +161,6 @@ function App() { undefined, ); - // biome-ignore lint/correctness/useExhaustiveDependencies: this dependency is required useEffect(() => { window.scrollTo(0, 0); }, [location.key]); diff --git a/src/main.tsx b/src/main.tsx index c497810..7230283 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,11 +1,5 @@ -import { Api } from "@jellyfin/sdk"; import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api"; -import { - QueryClient, - QueryClientProvider, - useQuery, -} from "@tanstack/react-query"; -import { enqueueSnackbar } from "notistack"; +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import React from "react"; import ReactDOM from "react-dom/client"; import { BrowserRouter as Router } from "react-router-dom"; @@ -40,7 +34,6 @@ const handleAuthError = async () => { const authenticateUser = async (address: string, user: UserStore["user"]) => { try { - console.log(user); createApi(address, user.AccessToken); setInitialRoute("/home");