Closed ErikSin closed 1 year ago
this is incomplete, but I wanted to show an example of encapsulating the logic of whether background maps is on or off directly in the hook.
Also example of doing undefined check inside the useMapStylesQuery hook
Hey this makes sense. I've wrapped up the loose ends on this so it can be merged if you're happy with it
this is incomplete, but I wanted to show an example of encapsulating the logic of whether background maps is on or off directly in the hook.
Also example of doing undefined check inside the useMapStylesQuery hook