diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx b/server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx index 4b9150b82ef..0a07ecebaeb 100644 --- a/server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx +++ b/server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx @@ -30,7 +30,7 @@ export function withCLanguageFeature<P>( render() { return ( <LanguagesContext.Consumer> - {languages => { + {(languages) => { const hasCLanguageFeature = languages['c'] !== undefined; return ( |