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:
@@ -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