blob: 4808a8a21a45eb91e05b30ecdd724786e0a6de6e (
plain)
1
2
3
4
5
6
7
8
9
|
import { useSelector } from 'react-redux';
const GeofencesValue = ({ geofenceIds }) => {
const geofences = useSelector((state) => state.geofences.items);
return geofenceIds.map((id) => geofences[id]?.name).join(', ');
};
export default GeofencesValue;
|