aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/component-measures/routes.js
diff options
context:
space:
mode:
authorStas Vilchik <stas-vilchik@users.noreply.github.com>2017-03-17 09:10:48 +0100
committerGitHub <noreply@github.com>2017-03-17 09:10:48 +0100
commitde4365079bad2df3bdee2133576dc913ffbf1ab2 (patch)
treea522ccb952f0d37f454e8188e13b3dec3f731912 /server/sonar-web/src/main/js/apps/component-measures/routes.js
parent6a03df65cc0c91a26150ea172a2c480e07326ea1 (diff)
downloadsonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.tar.gz
sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.zip
format code using prettier (#1774)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/component-measures/routes.js')
-rw-r--r--server/sonar-web/src/main/js/apps/component-measures/routes.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/routes.js b/server/sonar-web/src/main/js/apps/component-measures/routes.js
index 881dd3ca4ba..1fe9d219852 100644
--- a/server/sonar-web/src/main/js/apps/component-measures/routes.js
+++ b/server/sonar-web/src/main/js/apps/component-measures/routes.js
@@ -32,18 +32,18 @@ import { checkHistoryExistence } from './hooks';
import './styles.css';
export default (
- <Route component={AppContainer}>
- <Route component={HomeContainer}>
- <IndexRoute component={AllMeasuresContainer}/>
- <Route path="domain/:domainName" component={DomainMeasuresContainer}/>
- </Route>
+ <Route component={AppContainer}>
+ <Route component={HomeContainer}>
+ <IndexRoute component={AllMeasuresContainer} />
+ <Route path="domain/:domainName" component={DomainMeasuresContainer} />
+ </Route>
- <Route path="metric/:metricKey" component={MeasureDetailsContainer}>
- <IndexRedirect to="list"/>
- <Route path="list" component={ListViewContainer}/>
- <Route path="tree" component={TreeViewContainer}/>
- <Route path="history" component={MeasureHistoryContainer} onEnter={checkHistoryExistence}/>
- <Route path="treemap" component={MeasureTreemapContainer}/>
- </Route>
+ <Route path="metric/:metricKey" component={MeasureDetailsContainer}>
+ <IndexRedirect to="list" />
+ <Route path="list" component={ListViewContainer} />
+ <Route path="tree" component={TreeViewContainer} />
+ <Route path="history" component={MeasureHistoryContainer} onEnter={checkHistoryExistence} />
+ <Route path="treemap" component={MeasureTreemapContainer} />
</Route>
+ </Route>
);