Include locale on all links and routers
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user