Commit 78dbf55
Fix battery data sorting to avoid mutating state (#1156)
* Fix battery data sorting to avoid mutating state
* Memoize selectBatteryData with createSelector to avoid rerenders
Agent-Logs-Url: https://github.com/Avis-Drone-Labs/FGCS/sessions/40eb713b-8875-4857-9130-7ed9b003df1c
Co-authored-by: 1Blademaster <39247152+1Blademaster@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>1 parent 2f7884e commit 78dbf55
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | | - | |
| 416 | + | |
418 | 417 | | |
419 | 418 | | |
420 | 419 | | |
| |||
462 | 461 | | |
463 | 462 | | |
464 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
465 | 469 | | |
466 | 470 | | |
467 | 471 | | |
| |||
611 | 615 | | |
612 | 616 | | |
613 | 617 | | |
614 | | - | |
615 | 618 | | |
616 | 619 | | |
617 | 620 | | |
| |||
0 commit comments