Skip to content

Commit

Permalink
suspense error
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Jan 23, 2024
1 parent 09c7594 commit cccefd9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import "./globals.css";
import Script from "next/script";
import Providers from "@/utils/provider";
import { Suspense } from "react";

export const metadata = {
title: process.env.NEXT_PUBLIC_AI_NAME,
Expand All @@ -21,7 +22,11 @@ export default function RootLayout({
<Script src="https://www.writeroo.net/fawesome.js" />
</head>
<body className="font-inter">
<Providers>{children}</Providers>
<Providers>
<Suspense>
{children}
</Suspense>
</Providers>
</body>
</html>
);
Expand Down

1 comment on commit cccefd9

@vercel
Copy link

@vercel vercel bot commented on cccefd9 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.