From 9de2a10bc21133ca6c2c05853bebff3e1a22c60c Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Wed, 23 Jan 2019 13:23:03 +0100 Subject: [PATCH] Fix react indentation --- .eslintrc.es6.json | 3 +-- assets/js/src/forms/forms.jsx | 9 ++++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.eslintrc.es6.json b/.eslintrc.es6.json index e8e08167d2..eb9915b13b 100644 --- a/.eslintrc.es6.json +++ b/.eslintrc.es6.json @@ -30,8 +30,7 @@ "no-restricted-globals": 0, // todo "prefer-destructuring": 0, // todo "react/default-props-match-prop-types": 0, // todo - "react/no-access-state-in-setstate": 0, // todo - "react/jsx-closing-tag-location": 0 // todo + "react/no-access-state-in-setstate": 0 // todo } } diff --git a/assets/js/src/forms/forms.jsx b/assets/js/src/forms/forms.jsx index 513021f607..a33a239bcc 100644 --- a/assets/js/src/forms/forms.jsx +++ b/assets/js/src/forms/forms.jsx @@ -6,7 +6,10 @@ import FormList from './list.jsx'; const container = document.getElementById('forms_container'); if (container) { - ReactDOM.render( - - , container); + ReactDOM.render( + + + , + container + ); }