From eda18d37957a8818748ff54afb101870ba323a12 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Fri, 2 Aug 2024 17:52:53 -0700 Subject: [PATCH] Fixed website details page not rendering. --- src/app/(main)/websites/[websiteId]/layout.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/(main)/websites/[websiteId]/layout.tsx b/src/app/(main)/websites/[websiteId]/layout.tsx index 1729e3ed..f8756ea3 100644 --- a/src/app/(main)/websites/[websiteId]/layout.tsx +++ b/src/app/(main)/websites/[websiteId]/layout.tsx @@ -2,10 +2,6 @@ import { Metadata } from 'next'; import WebsiteProvider from './WebsiteProvider'; export default function ({ children, params: { websiteId } }) { - if (process.env.cloudMode) { - return null; - } - return {children}; }