diff --git a/web/containers/Layout/TopBar/index.tsx b/web/containers/Layout/TopBar/index.tsx index 992aaf1c0..c4bd7be32 100644 --- a/web/containers/Layout/TopBar/index.tsx +++ b/web/containers/Layout/TopBar/index.tsx @@ -81,7 +81,10 @@ const TopBar = () => {
setShowLeftSideBar((show) => !show)} > { useEffect(() => { getServerLog().then((log) => { - // setLogs(log) - // console.log(log) setLogs(log.split(/\r?\n|\r|\n/g)) - // setLogs(JSON.stringify(log, null, 2)) }) }, [getServerLog, logs]) - // const marked: Marked = new Marked( - // markedHighlight({ - // langPrefix: 'hljs', - // highlight(code) { - // return hljs.highlightAuto(code).value - // }, - // }), - // { - // renderer: { - // link: (href, title, text) => { - // return Renderer.prototype.link - // ?.apply(this, [href, title, text]) - // .replace(' {/* Left SideBar */} @@ -222,12 +197,6 @@ const LocalServerScreen = () => {
- {/*
*/} - {logs.map((log, i) => { return (