From 9f61ceca56f1ee8b4d2d59adec90f1c16cda8eee Mon Sep 17 00:00:00 2001 From: Lee Harrold Date: Fri, 5 Apr 2024 19:14:36 -0400 Subject: [PATCH] begrudgingly clean fe --- web/src/api.ts | 1 - web/src/component/UnauthenticatedTemplate.tsx | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) 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;