Skip to content

Commit c215a55

Browse files
UZ9shaply
authored andcommitted
nit: linting
1 parent 140c7fb commit c215a55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/app/(dashboard)/projects/[projectId]

‎src/app/(dashboard)/projects/[projectId]/layout.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export default async function ProjectLayout({
88
params,
99
}: Readonly<{
1010
children: React.ReactNode;
11-
params: { projectId: string };
11+
params: Promise<{ projectId: string }>;
1212
}>) {
13-
const { projectId } = params;
13+
const { projectId } = await params;
1414
const { project } = await getProjectById(Number(projectId));
1515

1616
return (

0 commit comments

Comments
 (0)