eslint: no-unused

This commit is contained in:
morbalint committed 2024-01-09 23:06:55 +01:00
1 parent 73660076e5
commit b6f4d33cc5
2 files changed
-6

No files matched your search

@@ -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);