From dc36de1864e9746af5027ee3203a3f38e8d4e41f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Sun, 17 Jan 2021 13:12:21 +0900 Subject: [PATCH] chore: remove hljs for preview --- pages/debug.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pages/debug.tsx b/pages/debug.tsx index a6d5899..ccb1650 100644 --- a/pages/debug.tsx +++ b/pages/debug.tsx @@ -29,10 +29,6 @@ https://github.com/koreanbots }, onSubmit: ()=>{ alert('Pong') } }) - useEffect(()=> { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - window.document.querySelectorAll('pre code').forEach(el=> (window as any).hljs.highlightBlock(el)) - }, [formik.values.markdown]) const { theme, systemTheme } = useTheme() return

개발자모드