CODEBASE: Fix React warning of missing keys in CovenantPurchasesRoot.tsx (#1824)

This commit is contained in:
catloversg 2024-12-12 17:55:28 +07:00 committed by GitHub
parent bf095ea9e3
commit f07c442a92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 (