diff --git a/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx index 2b1e3c4cae6..1deb8d10a5c 100644 --- a/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx +++ b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx @@ -58,9 +58,8 @@ export function InviteSection(props: { const teamPlan = getValidTeamPlan(props.team); let bottomSection: React.ReactNode = null; const maxAllowedInvitesAtOnce = 10; - const inviteEnabled = - (teamPlan === "starter" || teamPlan === "growth") && - props.userHasEditPermission; + // invites are enabled if user has edit permission and team plan is not "free" + const inviteEnabled = teamPlan !== "free" && props.userHasEditPermission; const form = useForm({ resolver: zodResolver(inviteFormSchema), @@ -121,13 +120,13 @@ export function InviteSection(props: {
{teamPlan === "pro" && (

- Team invites are not enabled on your plan.{" "} + Team members are billed according to your plan.{" "} - Reach out to sales + Reach out to sales .

)}