From 8b66c7c9b03f4974c571adfc55410dd43ae3842b Mon Sep 17 00:00:00 2001 From: Clement G Date: Sun, 26 Apr 2020 15:11:13 +0200 Subject: [PATCH] fix(check-field) : prettier format --- src/components/views/CreateElection.jsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/views/CreateElection.jsx b/src/components/views/CreateElection.jsx index 94b46bd..800938b 100644 --- a/src/components/views/CreateElection.jsx +++ b/src/components/views/CreateElection.jsx @@ -229,7 +229,7 @@ class CreateElection extends Component { editCandidateLabel = (event, index) => { let candidates = this.state.candidates; candidates[index].label = event.currentTarget.value; - candidates.map((candidate) => { + candidates.map(candidate => { return candidate.label; }); this.setState({ @@ -469,10 +469,10 @@ class CreateElection extends Component { - + - + - +