]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21017 TypeScript: fix type React.ReactFragment => React.JSX.Element
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>
Tue, 21 Nov 2023 10:15:07 +0000 (11:15 +0100)
committersonartech <sonartech@sonarsource.com>
Fri, 24 Nov 2023 20:02:44 +0000 (20:02 +0000)
server/sonar-web/src/main/js/components/issue/components/IssueTransitionItem.tsx

index 060d32f02e4862842b2a136c45543ac32b222be1..10944dc08d9e9a2160ad73c9055d4bcb933dd9ee 100644 (file)
@@ -41,7 +41,7 @@ type Props = {
 export function IssueTransitionItem({ transition, selected, onSelectTransition }: Readonly<Props>) {
   const intl = useIntl();
 
-  const tooltips: Record<string, React.ReactFragment> = {
+  const tooltips: Record<string, React.JSX.Element> = {
     [IssueTransition.Confirm]: (
       <div className="sw-flex sw-flex-col sw-gap-2">
         <span>{translate('issue.transition.confirm.deprecated_tooltip.1')}</span>