chore: remove hljs for preview

This commit is contained in:
원더 2021-01-17 13:12:21 +09:00
parent d424a3be7c
commit dc36de1864

View File

@ -29,10 +29,6 @@ https://github.com/koreanbots
}, },
onSubmit: ()=>{ alert('Pong') } 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() const { theme, systemTheme } = useTheme()
return <Container paddingTop className='mb-10'> return <Container paddingTop className='mb-10'>
<h1 className='text-4xl font-bold mb-3 mt-3'></h1> <h1 className='text-4xl font-bold mb-3 mt-3'></h1>