aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx
diff options
context:
space:
mode:
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.tsx2
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 a7eb2b41b75..b7707a554bf 100644
--- a/server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx
+++ b/server/sonar-web/src/main/js/components/hoc/withCLanguageFeature.tsx
@@ -23,7 +23,7 @@ import { getWrappedDisplayName } from './utils';
export function withCLanguageFeature<P>(
WrappedComponent: React.ComponentType<
- React.PropsWithChildren<React.PropsWithChildren<P & { hasCLanguageFeature: boolean }>>
+ React.PropsWithChildren<P & { hasCLanguageFeature: boolean }>
>,
) {
class Wrapper extends React.Component<Omit<P, 'hasCLanguageFeature'>> {