diff --git a/src/client/component/contentinfo.tsx b/src/client/component/contentinfo.tsx index 579fc80..0c764c9 100644 --- a/src/client/component/contentinfo.tsx +++ b/src/client/component/contentinfo.tsx @@ -81,15 +81,8 @@ export const ContentInfo = (props: { gallery?: string, short?: boolean }) => { - //const classes = useStyles(); const theme = useTheme(); const document = props.document; - /*const rootName = props.short ? classes.short_root : classes.root; - const thumbnail_anchor = props.short ? classes.short_thumbnail_anchor : ""; - const thumbnail_content = props.short ? classes.short_thumbnail_content : - classes.thumbnail_content; - const subinfoContainer = props.short ? classes.short_subinfoContainer : - classes.subinfoContainer;*/ const url = props.gallery === undefined ? makeContentReaderUrl(document.id) : makeContentInfoUrl(document.id); return ( - {document.deleted_at === null ? () - : (Deleted)} + : (Deleted)} - - + + {document.title} - - {props.short ? ({document.tags.map(x => + + {props.short ? ({document.tags.map(x => () )}) : ( ) + >) } {document.deleted_at != null && diff --git a/src/server.ts b/src/server.ts index f1630bb..85b0a57 100644 --- a/src/server.ts +++ b/src/server.ts @@ -228,7 +228,6 @@ class ServerApplication{ return app; } } -//let Koa = require("koa"); export async function create_server(){ return await ServerApplication.createServer();