Merge pull request #961 from MODSetter/fix/pricing-map-index

Add index parameter to plans.map callback in Pricing component
This commit is contained in:
Rohan Verma 2026-03-24 20:45:05 -07:00 committed by GitHub
commit 59e21db42b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,7 +101,7 @@ export function Pricing({
plans.length === 2 ? "md:grid-cols-2 max-w-5xl mx-auto" : "md:grid-cols-3"
)}
>
{plans.map((plan) => (
{plans.map((plan, index) => (
<motion.div
key={plan.name}
initial={{ y: 50, opacity: 1 }}