diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-03-17 09:10:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 09:10:48 +0100 |
commit | de4365079bad2df3bdee2133576dc913ffbf1ab2 (patch) | |
tree | a522ccb952f0d37f454e8188e13b3dec3f731912 /server/sonar-web/src/main/js/apps/coding-rules/components/CodingRulesAppContainer.js | |
parent | 6a03df65cc0c91a26150ea172a2c480e07326ea1 (diff) | |
download | sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.tar.gz sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.zip |
format code using prettier (#1774)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/components/CodingRulesAppContainer.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/components/CodingRulesAppContainer.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/CodingRulesAppContainer.js b/server/sonar-web/src/main/js/apps/coding-rules/components/CodingRulesAppContainer.js index 62c4459d1a4..91b561597b9 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/CodingRulesAppContainer.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/CodingRulesAppContainer.js @@ -21,23 +21,23 @@ import React from 'react'; import init from '../init'; export default class CodingRulesAppContainer extends React.Component { - componentDidMount () { + componentDidMount() { this.stop = init(this.refs.container); } - componentWillUnmount () { + componentWillUnmount() { this.stop(); } - render () { + render() { // placing container inside div is required, // because when backbone.marionette's layout is destroyed, // it also destroys the root element, // but react wants it to be there to unmount it return ( - <div> - <div ref="container"/> - </div> + <div> + <div ref="container" /> + </div> ); } } |