chore: delete unused import

This commit is contained in:
monoid 2023-11-14 16:39:50 +09:00
parent e83a6bbe2b
commit e92caa622a
4 changed files with 3 additions and 30 deletions

View File

@ -1,7 +1,6 @@
import { ArrowBack as ArrowBackIcon } from "@mui/icons-material";
import { Typography } from "@mui/material";
import React from "react";
import { BackItem, CommonMenuList, Headline, NavList } from "../component/mod";
import { CommonMenuList, Headline } from "../component/mod";
import { PagePad } from "../component/pagepad";
export const NotFoundPage = () => {

View File

@ -16,18 +16,6 @@ type DocumentState = {
notfound: boolean;
};
const styles = (theme: Theme) => ({
noPaddingContent: {
display: "flex",
flexDirection: "column",
flexGrow: 1,
},
noPaddingToolbar: {
flex: "0 1 auto",
...theme.mixins.toolbar,
},
});
export function ReaderPage(props?: {}) {
const location = useLocation();
const match = useParams<{ id: string }>();

View File

@ -1,22 +1,9 @@
import { Box, Button, Grid, Paper, Theme, Typography } from "@mui/material";
import { Stack } from "@mui/material";
import { Box, Button, Paper, Typography } from "@mui/material";
import React, { useContext, useEffect, useState } from "react";
import { CommonMenuList, Headline } from "../component/mod";
import { UserContext } from "../state";
import { PagePad } from "../component/pagepad";
const useStyles = (theme: Theme) => ({
paper: {
padding: theme.spacing(2),
},
commitable: {
display: "grid",
gridTemplateColumns: `100px auto`,
},
contentTitle: {
marginLeft: theme.spacing(2),
},
});
type FileDifference = {
type: string;
value: {

View File

@ -1,7 +1,6 @@
import { ArrowBack as ArrowBackIcon } from "@mui/icons-material";
import { Paper, Typography } from "@mui/material";
import React from "react";
import { BackItem, CommonMenuList, Headline, NavList } from "../component/mod";
import { CommonMenuList, Headline } from "../component/mod";
import { PagePad } from "../component/pagepad";
export const SettingPage = () => {