We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc572d3 commit 8b7c63aCopy full SHA for 8b7c63a
src/management-system-v2/app/(dashboard)/[environmentId]/management/layout.tsx
@@ -3,15 +3,16 @@ import SettingsPage from '../settings/settings-page';
3
4
export default function Layout({
5
params,
6
- ...children
+ organizationSettings,
7
}: {
8
params: Promise<{ environmentId: string }>;
9
+ organizationSettings: React.ReactNode;
10
}) {
11
// TODO: check if the user has the rights to change the settings
12
13
return (
14
<Content title="Management">
- <SettingsPage {...children} />
15
+ <SettingsPage organizationSettings={organizationSettings} />
16
</Content>
17
);
18
}
0 commit comments