diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2022-12-28 16:23:39 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-01-02 20:03:09 +0000 |
commit | 4da2fd9191d43a75c7a6c4cc848cd048e6700844 (patch) | |
tree | 85982aa98ff80e8312841b5e4b2b0aa8082f2c48 /server/sonar-web/src/main/js/components/hoc | |
parent | f3c01c86ab9e7db644c40b4105c10b08ddfbd8a5 (diff) | |
download | sonarqube-4da2fd9191d43a75c7a6c4cc848cd048e6700844.tar.gz sonarqube-4da2fd9191d43a75c7a6c4cc848cd048e6700844.zip |
[NO JIRA] Migrate Code tests to RTL
Diffstat (limited to 'server/sonar-web/src/main/js/components/hoc')
-rw-r--r-- | server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx index f475e8805a4..89badf3e9de 100644 --- a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx +++ b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx @@ -37,7 +37,7 @@ export interface WithKeyboardNavigationProps { } export default function withKeyboardNavigation<P>( - WrappedComponent: React.ComponentClass<P & Partial<WithKeyboardNavigationProps>> + WrappedComponent: React.ComponentType<P & Partial<WithKeyboardNavigationProps>> ) { return class Wrapper extends React.Component<P & WithKeyboardNavigationProps> { static displayName = getWrappedDisplayName(WrappedComponent, 'withKeyboardNavigation'); |