diff --git a/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx b/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx
index 0c5fd10e0..0250e2055 100644
--- a/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx
+++ b/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx
@@ -5,6 +5,7 @@ import { createBoardLayout } from "../_layout-creator";
export default createBoardLayout<{ locale: string; name: string }>({
headerActions: ,
+ withCustomCss: false,
async getInitialBoardAsync({ name }) {
return await getBoardByNameAsync(name);
},
diff --git a/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx b/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx
index 26931af33..ae0d3ede3 100644
--- a/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx
+++ b/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx
@@ -34,6 +34,7 @@ interface CreateBoardLayoutProps {
headerBoardSettingsAction?: JSX.Element;
getInitialBoardAsync: (params: TParams) => Promise;
withTour?: boolean;
+ withCustomCss?: boolean;
}
export const createBoardLayout = ({
@@ -42,6 +43,7 @@ export const createBoardLayout = ({
headerBoardSettingsAction,
getInitialBoardAsync: getInitialBoard,
withTour = false,
+ withCustomCss = true,
}: CreateBoardLayoutProps) => {
const Layout = async ({
params,
@@ -107,7 +109,7 @@ export const createBoardLayout = ({
-
+ {withCustomCss && }