Fix compile errors

This commit is contained in:
Lncvrt committed 2025-09-02 10:36:50 -07:00
1 parent 032d48e6f2
commit edeba7b479
1 file changed
+3 -1
+3 -1
View File
@@ -9,7 +9,7 @@ import { Suspense, useState } from 'react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faFile } from '@fortawesome/free-regular-svg-icons'
import Editor from './components/components/Editor'
import dynamic from 'next/dynamic'
function Editor_Layout_Sidebar () {
const [projectFolder, setProjectFolder] = useState<string>(
@@ -41,6 +41,8 @@ export default function Editor_Layout ({
}: {
children: React.ReactNode
}) {
const Editor = dynamic(() => import('./components/components/Editor'), { ssr: false })
return (
<>
<div className='flex'>