frontend
frontend copied to clipboard
Fix and Improve Ground Control
Description
The mutable state should have been migrated to use useRef when the component was transitioned to a functional component.
This was a regression introduced in #2875.
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
- [ ] Code quality improvements
How to test
It should now work, aka fixes this bug:
Checklist
- [x] I have tested this code
- [ ] I have updated the documentation