diff --git a/src/app/dashboard/[subdomain]/editor/page.tsx b/src/app/dashboard/[subdomain]/editor/page.tsx index 0d5ab838..ac6ee476 100644 --- a/src/app/dashboard/[subdomain]/editor/page.tsx +++ b/src/app/dashboard/[subdomain]/editor/page.tsx @@ -209,6 +209,7 @@ export default function SubdomainEditor() { const isMobileLayout = useIsMobileLayout() const [isRendering, setIsRendering] = useState(false) + const [previewVisible, setPreviewVisible] = useState(true) const savePage = async (published: boolean) => { const check = await checkPageSlug({ @@ -558,77 +559,72 @@ export default function SubdomainEditor() { : "min-w-[840px] h-screen " }`} > -