Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update layout.tsx

Steven Teyc75e798b869a
diff --git a/apps/web/app/admin.dub.co/(dashboard)/layout.tsx b/apps/web/app/admin.dub.co/(dashboard)/layout.tsx
index c886fa0b27..6d9bbd974c 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/layout.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/layout.tsx
@@ -1,5 +1,6 @@
import { MaxWidthWrapper, NavLogo } from "@dub/ui";
import { constructMetadata } from "@dub/utils";
+import Providers from "app/providers";
import Link from "next/link";
import { ReactNode } from "react";
@@ -27,7 +28,7 @@ export default async function AdminLayout({
children: ReactNode;
}) {
return (
- <>
+ <Providers>
<div className="min-h-screen w-full bg-gray-50">
<div className="sticky left-0 right-0 top-0 z-20 border-b border-gray-200 bg-white">
<MaxWidthWrapper>
@@ -49,6 +50,6 @@ export default async function AdminLayout({
</div>
{children}
</div>
- </>
+ </Providers>
);
}