src/js/admin-certificate-editor/merge-codes.js
Function Edit
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Edit( props ) {
const [ isOpen, setOpen ] = useState( false ),
openModal = () => setOpen( true ),
closeModal = () => setOpen( false ),
{ value, onChange } = props;