diff --git a/src/components/views/CreateElection.jsx b/src/components/views/CreateElection.jsx index e85e496..40452fe 100644 --- a/src/components/views/CreateElection.jsx +++ b/src/components/views/CreateElection.jsx @@ -13,7 +13,7 @@ import { Card, CardBody, } from 'reactstrap'; -import { withTranslation } from 'react-i18next'; +import {withTranslation} from 'react-i18next'; import {toast, ToastContainer} from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; @@ -61,6 +61,15 @@ const DragHandle = sortableHandle(({children}) => ( {children} )); +const displayClockOptions = () => + Array(24) + .fill(1) + .map((x, i) => ( + + )); + const SortableCandidate = sortableElement(({candidate, sortIndex, form, t}) => (