Skip to content

Commit

Permalink
CODEBASE: Fix React warning of missing keys in CovenantPurchasesRoot.…
Browse files Browse the repository at this point in the history
…tsx (#1824)
  • Loading branch information
catloversg authored Dec 12, 2024
1 parent bf095ea commit f07c442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PersonObjects/Sleeve/ui/CovenantPurchasesRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function CovenantPurchasesRoot(props: IProps): React.ReactElement {
const upgradePanels = [];
for (let i = 0; i < Player.sleeves.length; ++i) {
const sleeve = Player.sleeves[i];
upgradePanels.push(<CovenantSleeveMemoryUpgrade index={i} rerender={rerender} sleeve={sleeve} />);
upgradePanels.push(<CovenantSleeveMemoryUpgrade key={i} index={i} rerender={rerender} sleeve={sleeve} />);
}

return (
Expand Down

0 comments on commit f07c442

Please sign in to comment.