Skip to content

Commit 93213cb

Browse files
authored
Merge pull request #743 from PROCEED-Labs/hotfix_organization-setting-page
hotfix: page receives props as promise
2 parents b4d222b + ebc02e6 commit 93213cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/management-system-v2/app/(dashboard)/[environmentId]/settings/@tdsSettings

src/management-system-v2/app/(dashboard)/[environmentId]/settings/@tdsSettings/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import SettingsInjector from '../settings-injector';
44
import Wrapper from './wrapper';
55
import { settings } from './settings';
66

7-
const Page = async ({ params }: { params: { environmentId: string } }) => {
7+
const Page = async (props: { params: Promise<{ environmentId: string }> }) => {
8+
const params = await props.params;
89
const {
910
activeEnvironment: { spaceId },
1011
} = await getCurrentEnvironment(params.environmentId);
11-
1212
await populateSpaceSettingsGroup(spaceId, settings);
1313

1414
return (

0 commit comments

Comments
 (0)