This commit is contained in:
Dunemask 2022-07-12 22:07:44 +00:00
parent 766610d14c
commit fd71714fc0
11 changed files with 56 additions and 50 deletions

View file

@ -2,10 +2,7 @@ import { useContext, useState } from "react";
import StoreContext from "../ctx/StoreContext.jsx";
import JobContext from "../ctx/JobContext.jsx";
import {
Link,
useLocation,
} from "react-router-dom";
import { Link, useLocation } from "react-router-dom";
import AppBar from "@mui/material/AppBar";
import Badge from "@mui/material/Badge";
import { styled } from "@mui/material/styles";
@ -101,7 +98,10 @@ export default function Navbar(props) {
sx={{ zIndex: drawerIndex(true) }}
>
<Toolbar />
<Box sx={{ width: drawerWidth, overflow: "auto" }} role="presentation">
<Box
sx={{ width: drawerWidth, overflow: "auto" }}
role="presentation"
>
<List>
{pages.map((text, index) => (
<ListItemButton

View file

@ -13,7 +13,6 @@ import Settings from "./settings/Settings.jsx";
import About from "./about/About.jsx";
export default function Views() {
return (
<div className="view">
<Navbar />

View file

@ -6,8 +6,6 @@ import CatalogSearch from "./CatalogSearch.jsx";
import TextField from "@mui/material/TextField";
export default function Catalog() {
const {
state: jobState,

View file

@ -17,7 +17,6 @@ import DialogTitle from "@mui/material/DialogTitle";
import ReplayIcon from "@mui/icons-material/Replay";
export default function Failing() {
const { state: jobState, retryAll, activeJobStates } = useContext(JobContext);