From 5cdf73cea671be27bf8efeebc454a9cc3f056ff7 Mon Sep 17 00:00:00 2001 From: emelko Date: Thu, 30 Aug 2018 21:39:53 +0200 Subject: [PATCH] Gets rid of line break in note "Enter" instead of "En-ter" --- components/cycle-day/symptoms/pain.js | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/components/cycle-day/symptoms/pain.js b/components/cycle-day/symptoms/pain.js index 5a7c0bd..6365065 100644 --- a/components/cycle-day/symptoms/pain.js +++ b/components/cycle-day/symptoms/pain.js @@ -112,19 +112,17 @@ export default class Pain extends Component { }} /> - - { this.state.other && - { - this.setState({note: val}) - }} - /> - } - + { this.state.other && + { + this.setState({note: val}) + }} + /> + }