diff --git a/core/app/c/[communitySlug]/forms/[formSlug]/edit/page.tsx b/core/app/c/[communitySlug]/forms/[formSlug]/edit/page.tsx index d3ed34fda..2fe570327 100644 --- a/core/app/c/[communitySlug]/forms/[formSlug]/edit/page.tsx +++ b/core/app/c/[communitySlug]/forms/[formSlug]/edit/page.tsx @@ -28,14 +28,7 @@ export default async function Page(props: { formSlug: string; communitySlug: string; }>; - searchParams: Promise<{ - unsavedChanges: boolean; - }>; }) { - const searchParams = await props.searchParams; - - const { unsavedChanges } = searchParams; - const params = await props.params; const { formSlug, communitySlug } = params; @@ -104,7 +97,7 @@ export default async function Page(props: {
{/* {" "} */} - +
} > diff --git a/core/app/components/FormBuilder/ElementPanel/SelectAccess.tsx b/core/app/components/FormBuilder/ElementPanel/SelectAccess.tsx index 22d89b90e..0b4be0790 100644 --- a/core/app/components/FormBuilder/ElementPanel/SelectAccess.tsx +++ b/core/app/components/FormBuilder/ElementPanel/SelectAccess.tsx @@ -34,7 +34,7 @@ export const SelectAccess = () => {