We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b2f91 commit def0258Copy full SHA for def0258
1 file changed
apps/web/src/app/providers.tsx
@@ -8,7 +8,7 @@ import { Toaster } from "react-hot-toast";
8
9
// Dynamically import NextTopLoader to avoid issues during static generation
10
const NextTopLoader = dynamic(
11
- () => import("nextjs-toploader").then((mod) => mod.default),
+ () => import("nextjs-toploader") as Promise<{ default: React.ComponentType }>,
12
{ ssr: false }
13
);
14
0 commit comments