grouped using ButtonGroup Chakra component for group styles applied to both buttons
Future improvements
Move the buttons and related components into its own component called something like MapButtons or SettingsButtons or anything fit.
Overall, I think refactoring should be more about compartmentalizing components. Because components should not be hundreds of lines long, maybe future discussion on this.
Overview
ButtonGroup
Chakra component for group styles applied to both buttonsFuture improvements
Move the buttons and related components into its own component called something like
MapButtons
orSettingsButtons
or anything fit.Overall, I think refactoring should be more about compartmentalizing components. Because components should not be hundreds of lines long, maybe future discussion on this.