Files copy and paste from store atoms and selector to redux slices folder
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// hooks/useMarkerLayers.js
|
||||
import { useEffect } from "react";
|
||||
import { useRecoilValue } from "recoil";
|
||||
import { mapLayersState } from "../store/atoms/mapLayersState";
|
||||
import { mapLayersState } from "../redux/slices/mapLayersState";
|
||||
|
||||
const useMarkerLayers = (map, markers, layerType) => {
|
||||
const mapLayersVisibility = useRecoilValue(mapLayersState);
|
||||
|
||||
Reference in New Issue
Block a user