diff --git a/Kemkas.Web/frontend/src/index.tsx b/Kemkas.Web/frontend/src/index.tsx index 2f862c0..a581342 100644 --- a/Kemkas.Web/frontend/src/index.tsx +++ b/Kemkas.Web/frontend/src/index.tsx @@ -3,7 +3,6 @@ import ReactDOM from 'react-dom/client'; import 'bootstrap/dist/css/bootstrap.css'; import './index.css'; import App from './App'; -import reportWebVitals from './reportWebVitals'; import { getWebInstrumentations, initializeFaro } from '@grafana/faro-web-sdk'; const faro = window.location.hostname === 'localhost' ? undefined : initializeFaro({ diff --git a/Kemkas.Web/frontend/src/shared/Header.tsx b/Kemkas.Web/frontend/src/shared/Header.tsx index 4b1eda3..5476ed7 100644 --- a/Kemkas.Web/frontend/src/shared/Header.tsx +++ b/Kemkas.Web/frontend/src/shared/Header.tsx @@ -1,13 +1,8 @@ import * as React from "react"; -import axios from "axios"; import {useState} from "react"; type LoadingState = "not-started" | "loading" | "finished" -function logout() { - return axios.post("/Identity/Account/Logout?returnUrl=%2F") -} - function Header(props: {}) { let [loading, setLoading] = useState("not-started" as LoadingState);