aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/current-user/withCurrentUserContext.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/current-user/withCurrentUserContext.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/current-user/withCurrentUserContext.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/components/current-user/withCurrentUserContext.tsx b/server/sonar-web/src/main/js/app/components/current-user/withCurrentUserContext.tsx
index 9f0e85ba96d..c3695f1f88e 100644
--- a/server/sonar-web/src/main/js/app/components/current-user/withCurrentUserContext.tsx
+++ b/server/sonar-web/src/main/js/app/components/current-user/withCurrentUserContext.tsx
@@ -22,7 +22,7 @@ import { getWrappedDisplayName } from '../../../components/hoc/utils';
import { CurrentUserContext, CurrentUserContextInterface } from './CurrentUserContext';
export default function withCurrentUserContext<P>(
- WrappedComponent: React.ComponentType<P & Pick<CurrentUserContextInterface, 'currentUser'>>
+ WrappedComponent: React.ComponentType<P & Pick<CurrentUserContextInterface, 'currentUser'>>,
) {
return class WithCurrentUserContext extends React.PureComponent<
Omit<P, 'currentUser' | 'updateCurrentUserHomepage' | 'updateDismissedNotices'>