From f5eaa41d09e4258e7054166ffa4630f9d3b4214a Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Tue, 16 Jan 2024 09:49:26 +0700 Subject: [PATCH] hiding menu icon collapse panel left in local server page --- web/containers/Layout/TopBar/index.tsx | 5 +++- web/screens/LocalServer/index.tsx | 33 +------------------------- 2 files changed, 5 insertions(+), 33 deletions(-) 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 (