Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikvv committed Nov 14, 2024
1 parent 8867b73 commit 60be16c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const SolarFarmsDisplayEdit: FunctionComponent<{
<SolarFarmForm
key={"SolarFarm_" + i}
save={(asset: SolarFarm) => {
onChange(pilot.replaceAsset(i, asset))
onChange(pilot.replaceAsset(asset, i))
setSelected(null);
}}
hide={() => {
Expand Down

0 comments on commit 60be16c

Please sign in to comment.