diff --git a/src/components/CreateRoleForm.tsx b/src/components/CreateRoleForm.tsx index 30c37693..1f6914fe 100644 --- a/src/components/CreateRoleForm.tsx +++ b/src/components/CreateRoleForm.tsx @@ -35,6 +35,8 @@ import { useEnvContext } from "@app/hooks/useEnvContext"; import { useTranslations } from "next-intl"; import { CheckboxWithLabel } from "./ui/checkbox"; import { usePaidStatus } from "@app/hooks/usePaidStatus"; +import { build } from "@server/build"; +import { PaidFeaturesAlert } from "./PaidFeaturesAlert"; type CreateRoleFormProps = { open: boolean; @@ -165,35 +167,41 @@ export default function CreateRoleForm({ )} /> - {isPaidUser && ( - ( - - - + + ( + + + + + + + {t( + "requireDeviceApprovalDescription" )} - /> - + - - {t( - "requireDeviceApprovalDescription" - )} - - - - - )} - /> + + + )} + /> + )}