We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ed9954 + 0ba1f79 commit e6238cfCopy full SHA for e6238cf
packages/frontend-web/app/[locale]/dashboard/environments/page.tsx
@@ -0,0 +1,16 @@
1
+"use client";
2
+
3
+import { DashboardLayout } from "@/components/dashboard-layout";
4
+import { EnvContentWrapper } from "@/components/env-content-wrapper";
5
+import { use } from "react";
6
7
+export default function EnvPage({ params }: { params: Promise<{ locale: string }> }) {
8
+ // Properly unwrap the params Promise using React.use
9
+ const { locale } = use(params);
10
11
+ return (
12
+ <DashboardLayout locale={locale}>
13
+ <EnvContentWrapper />
14
+ </DashboardLayout>
15
+ );
16
+}
0 commit comments