Skip to content

Commit

Permalink
Fix missing key react warning
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed Nov 23, 2024
1 parent b9f3834 commit d0e12ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/benefit-page/components/BenefitPageRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const BenefitPageRules = ({benefitId}) => {
{
rules &&
rules.map((rule, index) => (
<VStack gap={1}>
<VStack gap={1} key={index}>
<BenefitPageRuleEntry ruleData={rule} />
{index < rules.length - 1 && <Divider />}
</VStack>
Expand Down

0 comments on commit d0e12ab

Please sign in to comment.