Split utils module into several helpers modules

This commit is contained in:
Alejandro Celaya
2020-03-28 17:33:23 +01:00
parent 2d5c2779c3
commit 7f05c5c2da
17 changed files with 59 additions and 55 deletions

View File

@@ -3,7 +3,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faInfoCircle as infoIcon } from '@fortawesome/free-solid-svg-icons';
import { Modal, ModalBody, ModalHeader } from 'reactstrap';
import './UseExistingIfFoundInfoIcon.scss';
import { useToggle } from '../utils/utils';
import { useToggle } from '../utils/helpers/hooks';
const renderInfoModal = (isOpen, toggle) => (
<Modal isOpen={isOpen} toggle={toggle} centered size="lg">