From 248944fdf04de4a443182ecb17e12716105d5b21 Mon Sep 17 00:00:00 2001 From: David Cho-Lerat Date: Tue, 21 Nov 2023 11:15:07 +0100 Subject: [PATCH] SONAR-21017 TypeScript: fix type React.ReactFragment => React.JSX.Element --- .../main/js/components/issue/components/IssueTransitionItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueTransitionItem.tsx b/server/sonar-web/src/main/js/components/issue/components/IssueTransitionItem.tsx index 060d32f02e4..10944dc08d9 100644 --- a/server/sonar-web/src/main/js/components/issue/components/IssueTransitionItem.tsx +++ b/server/sonar-web/src/main/js/components/issue/components/IssueTransitionItem.tsx @@ -41,7 +41,7 @@ type Props = { export function IssueTransitionItem({ transition, selected, onSelectTransition }: Readonly) { const intl = useIntl(); - const tooltips: Record = { + const tooltips: Record = { [IssueTransition.Confirm]: (
{translate('issue.transition.confirm.deprecated_tooltip.1')} -- 2.39.5