diff --git a/geneit_app/src/widgets/AsyncWidget.tsx b/geneit_app/src/widgets/AsyncWidget.tsx index f60786a..ca2c5d9 100644 --- a/geneit_app/src/widgets/AsyncWidget.tsx +++ b/geneit_app/src/widgets/AsyncWidget.tsx @@ -1,5 +1,5 @@ import { Alert, Button, CircularProgress } from "@mui/material"; -import { PropsWithChildren, useEffect, useRef, useState } from "react"; +import { useEffect, useRef, useState } from "react"; enum State { Loading, diff --git a/geneit_app/src/widgets/BaseAuthenticatedPage.tsx b/geneit_app/src/widgets/BaseAuthenticatedPage.tsx index 17e1a1f..fd82531 100644 --- a/geneit_app/src/widgets/BaseAuthenticatedPage.tsx +++ b/geneit_app/src/widgets/BaseAuthenticatedPage.tsx @@ -1,7 +1,7 @@ import { mdiFamilyTree } from "@mdi/js"; import Icon from "@mdi/react"; 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 Menu from "@mui/material/Menu"; import MenuItem from "@mui/material/MenuItem"; @@ -12,8 +12,8 @@ import * as React from "react"; import { Link, Outlet, useNavigate } from "react-router-dom"; import { AuthApi } from "../api/AuthApi"; import { User, UserApi } from "../api/UserApi"; -import { RouterLink } from "./RouterLink"; import { AsyncWidget } from "./AsyncWidget"; +import { RouterLink } from "./RouterLink"; export function BaseAuthenticatedPage(): React.ReactElement { const [user, setUser] = React.useState(null);