aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2022-03-03 16:17:30 +0100
committersonartech <sonartech@sonarsource.com>2022-03-04 20:02:47 +0000
commitbc489aa9897b982a6b85aaa30f713336ce3cdfbf (patch)
tree5760e387bc1080798631861806ad4c41a04d4058 /server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
parentb9059604204d2b3045d8050fd4ffb9a0029a600f (diff)
downloadsonarqube-bc489aa9897b982a6b85aaa30f713336ce3cdfbf.tar.gz
sonarqube-bc489aa9897b982a6b85aaa30f713336ce3cdfbf.zip
[NO JIRA] Treat some Code Smells
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/GlobalContainer.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/GlobalContainer.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx b/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
index d00fbc0cf73..52a5eccf943 100644
--- a/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
+++ b/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
@@ -26,8 +26,8 @@ import GlobalFooter from './GlobalFooter';
import GlobalMessagesContainer from './GlobalMessagesContainer';
import IndexationContextProvider from './indexation/IndexationContextProvider';
import IndexationNotification from './indexation/IndexationNotification';
-import LanguageContextProvider from './languages/LanguagesContextProvider';
-import MetricContextProvider from './metrics/MetricsContextProvider';
+import LanguagesContextProvider from './languages/LanguagesContextProvider';
+import MetricsContextProvider from './metrics/MetricsContextProvider';
import GlobalNav from './nav/global/GlobalNav';
import PromotionNotification from './promotion-notification/PromotionNotification';
import StartupModal from './StartupModal';
@@ -52,15 +52,15 @@ export default function GlobalContainer(props: Props) {
<div className="page-container">
<Workspace>
<IndexationContextProvider>
- <LanguageContextProvider>
- <MetricContextProvider>
+ <LanguagesContextProvider>
+ <MetricsContextProvider>
<GlobalNav location={props.location} />
<GlobalMessagesContainer />
<IndexationNotification />
<UpdateNotification dismissable={true} />
{props.children}
- </MetricContextProvider>
- </LanguageContextProvider>
+ </MetricsContextProvider>
+ </LanguagesContextProvider>
</IndexationContextProvider>
</Workspace>
</div>