diff --git a/src/client/component/navlist.tsx b/src/client/component/navlist.tsx
index 5ecff71..6879d77 100644
--- a/src/client/component/navlist.tsx
+++ b/src/client/component/navlist.tsx
@@ -28,12 +28,9 @@ export const BackItem = (props:{to?:string})=>{
}
export function CommonMenuList(props?:{url?:string}) {
- //if(props === undefined){
- // props = {};
- //}
- //props.url = props.url || "";
- //{props.url !== "" && <> >}
+ let url = props?.url || "";
return (
+ {url !== "" && <> >}
} />
}>
} />
diff --git a/src/client/page/contentinfo.tsx b/src/client/page/contentinfo.tsx
index f824a0d..2c201c1 100644
--- a/src/client/page/contentinfo.tsx
+++ b/src/client/page/contentinfo.tsx
@@ -6,6 +6,7 @@ import { Link, Paper, makeStyles, Theme, Box, useTheme, Typography } from '@mate
import {ArrowBack as ArrowBackIcon } from '@material-ui/icons';
import { getPresenter } from './reader/reader';
import { BackItem, CommonMenuList, ContentInfo, Headline, NavItem, NavList } from '../component/mod';
+import {NotFoundPage} from './404';
export const makeContentInfoUrl = (id: number) => `/doc/${id}`;
export const makeMangaReaderUrl = (id: number) => `/doc/${id}/reader`;
@@ -45,7 +46,6 @@ export const DocumentAbout = (prop: { match: MatchType }) => {
})();
}, []);
const classes = useStyles();
- console.log(info.doc);
if (isNaN(id)) {
return (
@@ -83,9 +83,7 @@ export const DocumentAbout = (prop: { match: MatchType }) => {
-
- 404 Not Found invalid url : {prop.match.path}
-
+
);
}