mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
CODEBASE: Fix React warning of missing keys in CovenantPurchasesRoot.tsx (#1824)
This commit is contained in:
parent
bf095ea9e3
commit
f07c442a92
@ -58,7 +58,7 @@ export function CovenantPurchasesRoot(props: IProps): React.ReactElement {
|
|||||||
const upgradePanels = [];
|
const upgradePanels = [];
|
||||||
for (let i = 0; i < Player.sleeves.length; ++i) {
|
for (let i = 0; i < Player.sleeves.length; ++i) {
|
||||||
const sleeve = Player.sleeves[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 (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user