From 4acf57cfd040a7a20319d858a911c22518eb2156 Mon Sep 17 00:00:00 2001 From: DanCodes Date: Thu, 11 Jan 2024 14:51:37 +0000 Subject: [PATCH] chore: cleanup code --- src/App.tsx | 1 - src/main.tsx | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) 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");