Skip to content

Commit

Permalink
Update layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlabs authored Aug 14, 2023
1 parent 2b00317 commit cbffefc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/chat/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ export const metadata = {
description: AI_NAME,
};

const DynChatMenu = dynamic(() => import('@/features/chat/chat-menu/chat-menu'), { ssr: false });
const DynChatMenu = dynamic<{}>(
() => import('@/features/chat/chat-menu/chat-menu').then((mod) => mod.ChatMenu),
{ ssr: false }
);

export default async function RootLayout({
children,
Expand Down

0 comments on commit cbffefc

Please sign in to comment.