diff --git a/pages/admin/accounts/[id]/manage-forms.tsx b/pages/admin/accounts/[id]/manage-forms.tsx index b269543dd4..536d84451d 100644 --- a/pages/admin/accounts/[id]/manage-forms.tsx +++ b/pages/admin/accounts/[id]/manage-forms.tsx @@ -200,7 +200,7 @@ ManageForms.getLayout = (page: ReactElement) => { context="admin" leftColumnContent={} > - {page} + {page} ); }; diff --git a/pages/admin/accounts/[id]/manage-permissions.tsx b/pages/admin/accounts/[id]/manage-permissions.tsx index 7ac37113ea..7074009316 100644 --- a/pages/admin/accounts/[id]/manage-permissions.tsx +++ b/pages/admin/accounts/[id]/manage-permissions.tsx @@ -10,11 +10,12 @@ import { requireAuthentication } from "@lib/auth"; import { checkPrivileges, getAllPrivileges } from "@lib/privileges"; import { logMessage } from "@lib/logger"; import { getUser } from "@lib/users"; -import AdminNavLayout from "@components/globals/layouts/AdminNavLayout"; import { Button, Alert } from "@components/globals"; import { BackLink } from "@components/admin/LeftNav/BackLink"; import { PermissionToggle } from "@components/admin/Users/PermissionToggle"; import { LinkButton } from "@components/globals"; +import { TwoColumnLayout } from "@components/globals/layouts"; +import { TemplateStoreProvider } from "@components/form-builder/store"; type PrivilegeList = Omit[]; interface User { @@ -229,12 +230,13 @@ const BackToAccounts = ({ id }: { id: string }) => { ManagePermissions.getLayout = (page: ReactElement) => { return ( - } + context="admin" + leftColumnContent={} > {page} - + ); };