Skip to content

Commit cccbcff

Browse files
committed
fix: product id
1 parent c2b224a commit cccbcff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/better-admin

apps/dashboard/components/autumn/pricing-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default function PricingTable({
147147
disabled:
148148
plan.scenario === "active" || plan.scenario === "scheduled",
149149
onClick: async () => {
150-
await attach({ productIds: [plan.id], dialog: AttachDialog });
150+
await attach({ productId: plan.id, dialog: AttachDialog });
151151
},
152152
}}
153153
isSelected={selectedPlan === plan.id}

0 commit comments

Comments
 (0)