diff --git a/web/src/api.ts b/web/src/api.ts index 96b9bde..831a674 100644 --- a/web/src/api.ts +++ b/web/src/api.ts @@ -1,5 +1,4 @@ import axios from "axios"; -import fetchCookie from "fetch-cookie"; const credentials = { username: "", diff --git a/web/src/component/UnauthenticatedTemplate.tsx b/web/src/component/UnauthenticatedTemplate.tsx index 88b895f..a6c78b2 100644 --- a/web/src/component/UnauthenticatedTemplate.tsx +++ b/web/src/component/UnauthenticatedTemplate.tsx @@ -1,8 +1,5 @@ -import { useCallback, useState } from "react"; -import { getUserInfo, storeLoginCredentials } from "../api"; -// import Login from "./Login"; +import { getUserInfo } from "../api"; import OAuthLogin from "./OAuthLogin"; -import React from "react"; export interface UnauthenticatedTemplateProps { loginCallback: VoidFunction;