Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/dashboard/src/@/utils/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const TEAM_PLANS: Record<
features: [
"Email Support",
"48hr Guaranteed Response",
"Invite Team Members",
"Custom In-App Wallet Auth",
],
price: 99,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ export function InviteTeamMembersUI(props: {
client={props.client}
customCTASection={
<div className="flex gap-3">
{(props.team.billingPlan === "free" ||
props.team.billingPlan === "starter") && (
{props.team.billingPlan === "free" && (
<Button
className="gap-2"
onClick={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@ export function InviteSection(props: {
let bottomSection: React.ReactNode = null;
const maxAllowedInvitesAtOnce = 10;
// invites are enabled if user has edit permission and team plan is not "free"
const inviteEnabled =
teamPlan !== "free" &&
teamPlan !== "starter" &&
props.userHasEditPermission;
const inviteEnabled = teamPlan !== "free" && props.userHasEditPermission;

const form = useForm<InviteFormValues>({
defaultValues: {
Expand All @@ -111,7 +108,7 @@ export function InviteSection(props: {
},
});

if (teamPlan === "free" || teamPlan === "starter") {
if (teamPlan === "free") {
bottomSection = (
<div className="lg:px6 flex items-center justify-between gap-4 border-border border-t px-4 py-4">
<p className="text-muted-foreground text-sm">
Expand Down
Loading