aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/componentContext/withComponentContext.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/componentContext/withComponentContext.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/componentContext/withComponentContext.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/components/componentContext/withComponentContext.tsx b/server/sonar-web/src/main/js/app/components/componentContext/withComponentContext.tsx
index 122706e9f63..eeab47a144d 100644
--- a/server/sonar-web/src/main/js/app/components/componentContext/withComponentContext.tsx
+++ b/server/sonar-web/src/main/js/app/components/componentContext/withComponentContext.tsx
@@ -23,7 +23,7 @@ import { ComponentContextShape } from '../../../types/component';
import { ComponentContext } from './ComponentContext';
export default function withComponentContext<P extends Partial<ComponentContextShape>>(
- WrappedComponent: React.ComponentType<React.PropsWithChildren<React.PropsWithChildren<P>>>,
+ WrappedComponent: React.ComponentType<React.PropsWithChildren<P>>,
) {
return class WithComponentContext extends React.PureComponent<
Omit<P, keyof ComponentContextShape>