chore: delete unused import
This commit is contained in:
parent
e83a6bbe2b
commit
e92caa622a
@ -1,7 +1,6 @@
|
|||||||
import { ArrowBack as ArrowBackIcon } from "@mui/icons-material";
|
|
||||||
import { Typography } from "@mui/material";
|
import { Typography } from "@mui/material";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { BackItem, CommonMenuList, Headline, NavList } from "../component/mod";
|
import { CommonMenuList, Headline } from "../component/mod";
|
||||||
import { PagePad } from "../component/pagepad";
|
import { PagePad } from "../component/pagepad";
|
||||||
|
|
||||||
export const NotFoundPage = () => {
|
export const NotFoundPage = () => {
|
||||||
|
@ -16,18 +16,6 @@ type DocumentState = {
|
|||||||
notfound: boolean;
|
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?: {}) {
|
export function ReaderPage(props?: {}) {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const match = useParams<{ id: string }>();
|
const match = useParams<{ id: string }>();
|
||||||
|
@ -1,22 +1,9 @@
|
|||||||
import { Box, Button, Grid, Paper, Theme, Typography } from "@mui/material";
|
import { Box, Button, Paper, Typography } from "@mui/material";
|
||||||
import { Stack } from "@mui/material";
|
|
||||||
import React, { useContext, useEffect, useState } from "react";
|
import React, { useContext, useEffect, useState } from "react";
|
||||||
import { CommonMenuList, Headline } from "../component/mod";
|
import { CommonMenuList, Headline } from "../component/mod";
|
||||||
import { UserContext } from "../state";
|
import { UserContext } from "../state";
|
||||||
import { PagePad } from "../component/pagepad";
|
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 FileDifference = {
|
||||||
type: string;
|
type: string;
|
||||||
value: {
|
value: {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { ArrowBack as ArrowBackIcon } from "@mui/icons-material";
|
|
||||||
import { Paper, Typography } from "@mui/material";
|
import { Paper, Typography } from "@mui/material";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { BackItem, CommonMenuList, Headline, NavList } from "../component/mod";
|
import { CommonMenuList, Headline } from "../component/mod";
|
||||||
import { PagePad } from "../component/pagepad";
|
import { PagePad } from "../component/pagepad";
|
||||||
|
|
||||||
export const SettingPage = () => {
|
export const SettingPage = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user