diff --git a/.eslintrc.json b/.eslintrc.json index 6a95697..5f65023 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,5 +28,6 @@ } }, "rules": { + "no-console": "off" } -} \ No newline at end of file +} diff --git a/src/components/views/CreateElection.jsx b/src/components/views/CreateElection.jsx index f7ed147..81b5c6d 100644 --- a/src/components/views/CreateElection.jsx +++ b/src/components/views/CreateElection.jsx @@ -567,7 +567,7 @@ class CreateElection extends Component { finish: new Date( timeMinusDate(finish) + new Date( - getOnlyValidDate(e.target.valueAsNumber) + e.target.valueAsNumber ).getTime() ) });