Changed error boundary to cover both full hub and disaptch app
This commit is contained in:
@@ -14,7 +14,6 @@ import { Map as TMap } from "leaflet";
|
||||
const Map = () => {
|
||||
const ref = useRef<TMap | null>(null);
|
||||
const { map, setMap } = useMapStore();
|
||||
|
||||
useEffect(() => {
|
||||
// Sync map zoom and center with the map store
|
||||
if (ref.current) {
|
||||
|
||||
Reference in New Issue
Block a user