Skip to content

Commit a5de4a9

Browse files
Hartesicsonartech
authored andcommitted
SONAR-25432 Fix Bitbucket Cloud app deprecation banner content
GitOrigin-RevId: be229915ea24885d16e23b8441af8924b3ecf2f9
1 parent 88a0fed commit a5de4a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/sq-server-commons/src/components/devops-platform/BitbucketCloudAppDeprecationMessage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
2020

21-
import { Link, MessageCallout, MessageVariety } from '@sonarsource/echoes-react';
21+
import { Link, LinkHighlight, MessageCallout, MessageVariety } from '@sonarsource/echoes-react';
2222
import { isBefore } from 'date-fns';
2323
import { noop } from 'lodash';
2424
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
@@ -130,7 +130,7 @@ export function BitbucketCloudAppDeprecationMessage({
130130
return (
131131
<MessageCallout
132132
action={
133-
<Link to={BITBUCKET_API_TOKEN_DOCUMENTATION_URL}>
133+
<Link highlight={LinkHighlight.Default} to={BITBUCKET_API_TOKEN_DOCUMENTATION_URL}>
134134
<FormattedMessage id="admin_notification.bitbucket_cloud_app_deprecation.link" />
135135
</Link>
136136
}
@@ -139,7 +139,7 @@ export function BitbucketCloudAppDeprecationMessage({
139139
title={formatMessage({ id: 'admin_notification.bitbucket_cloud_app_deprecation.title' })}
140140
variety={MessageVariety.Info}
141141
>
142-
<FormattedMessage id="admin_notification.bitbucket_cloud_app_deprecation.banner" />
142+
<FormattedMessage id="admin_notification.bitbucket_cloud_app_deprecation.body" />
143143
</MessageCallout>
144144
);
145145
}

0 commit comments

Comments
 (0)