Skip to content

Commit e6238cf

Browse files
authored
Merge pull request #73 from zecrypt-io/feature/ananducv/env-section
renamed env folder to bypass gitignore
2 parents 2ed9954 + 0ba1f79 commit e6238cf

File tree

1 file changed

+16
-0
lines changed
  • packages/frontend-web/app/[locale]/dashboard/environments

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)