Fix react indentation

This commit is contained in:
Pavel Dohnal
2019-01-23 13:23:03 +01:00
parent 91513edd09
commit 9de2a10bc2
2 changed files with 7 additions and 5 deletions

View File

@ -30,8 +30,7 @@
"no-restricted-globals": 0, // todo "no-restricted-globals": 0, // todo
"prefer-destructuring": 0, // todo "prefer-destructuring": 0, // todo
"react/default-props-match-prop-types": 0, // todo "react/default-props-match-prop-types": 0, // todo
"react/no-access-state-in-setstate": 0, // todo "react/no-access-state-in-setstate": 0 // todo
"react/jsx-closing-tag-location": 0 // todo
} }
} }

View File

@ -6,7 +6,10 @@ import FormList from './list.jsx';
const container = document.getElementById('forms_container'); const container = document.getElementById('forms_container');
if (container) { if (container) {
ReactDOM.render(<HashRouter> ReactDOM.render(
<HashRouter>
<Route path="*" component={FormList} /> <Route path="*" component={FormList} />
</HashRouter>, container); </HashRouter>,
container
);
} }