Remove useless imports
This commit is contained in:
parent
eb0c1a5c21
commit
b64bc8fb6d
@ -1,5 +1,5 @@
|
|||||||
import { Alert, Button, CircularProgress } from "@mui/material";
|
import { Alert, Button, CircularProgress } from "@mui/material";
|
||||||
import { PropsWithChildren, useEffect, useRef, useState } from "react";
|
import { useEffect, useRef, useState } from "react";
|
||||||
|
|
||||||
enum State {
|
enum State {
|
||||||
Loading,
|
Loading,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { mdiFamilyTree } from "@mdi/js";
|
import { mdiFamilyTree } from "@mdi/js";
|
||||||
import Icon from "@mdi/react";
|
import Icon from "@mdi/react";
|
||||||
import SettingsIcon from "@mui/icons-material/Settings";
|
import SettingsIcon from "@mui/icons-material/Settings";
|
||||||
import { Alert, Button, CircularProgress } from "@mui/material";
|
import { Button } from "@mui/material";
|
||||||
import AppBar from "@mui/material/AppBar";
|
import AppBar from "@mui/material/AppBar";
|
||||||
import Menu from "@mui/material/Menu";
|
import Menu from "@mui/material/Menu";
|
||||||
import MenuItem from "@mui/material/MenuItem";
|
import MenuItem from "@mui/material/MenuItem";
|
||||||
@ -12,8 +12,8 @@ import * as React from "react";
|
|||||||
import { Link, Outlet, useNavigate } from "react-router-dom";
|
import { Link, Outlet, useNavigate } from "react-router-dom";
|
||||||
import { AuthApi } from "../api/AuthApi";
|
import { AuthApi } from "../api/AuthApi";
|
||||||
import { User, UserApi } from "../api/UserApi";
|
import { User, UserApi } from "../api/UserApi";
|
||||||
import { RouterLink } from "./RouterLink";
|
|
||||||
import { AsyncWidget } from "./AsyncWidget";
|
import { AsyncWidget } from "./AsyncWidget";
|
||||||
|
import { RouterLink } from "./RouterLink";
|
||||||
|
|
||||||
export function BaseAuthenticatedPage(): React.ReactElement {
|
export function BaseAuthenticatedPage(): React.ReactElement {
|
||||||
const [user, setUser] = React.useState<null | User>(null);
|
const [user, setUser] = React.useState<null | User>(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user