import React from "react"; import PropTypes from "prop-types"; import { useSelector } from "react-redux"; export const PolochonSelect = ({ value, changeValue }) => { const publicPolochons = useSelector((state) => state.polochon.public); return ( ); }; PolochonSelect.propTypes = { value: PropTypes.string, changeValue: PropTypes.func.isRequired, };