Include locale on all links and routers

This commit is contained in:
Takeshi Kimata
2024-05-04 12:19:53 +09:00
parent ec9e2da7bc
commit 747d191412
20 changed files with 104 additions and 61 deletions

View File

@@ -5,11 +5,11 @@ export default function FoldersLayout({
params,
}: {
children: React.ReactNode;
params: { projectId: string };
params: { projectId: string; locale: string };
}) {
return (
<div className="flex w-full">
<FoldersPane projectId={params.projectId} />
<FoldersPane projectId={params.projectId} locale={params.locale} />
<div className="flex-grow w-full">{children}</div>
</div>
);