mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
eslint: no-unused
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user