Skip to content

Commit 9f6cc62

Browse files
Open in Help Center (#103831)
1 parent 759f651 commit 9f6cc62

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

client/my-sites/domains/domain-management/subpage-wrapper/headers/dns-record-header.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { ExternalLink } from '@automattic/components';
2-
import { localizeUrl } from '@automattic/i18n-utils';
31
import { SiteExcerptData } from '@automattic/sites';
42
import { translate } from 'i18n-calypso';
53
import React, { useMemo } from 'react';
4+
import InlineSupportLink from 'calypso/components/inline-support-link';
65
import NavigationHeader from 'calypso/components/navigation-header';
76
import { domainManagementAllOverview, domainManagementDns } from 'calypso/my-sites/domains/paths';
87
import SiteIcon from 'calypso/sites/components/sites-dataviews/site-icon';
@@ -17,9 +16,7 @@ export const addDnsRecordsSubtitle = translate(
1716
'DNS records change how your domain works. {{a}}Learn more{{/a}}.',
1817
{
1918
components: {
20-
a: (
21-
<ExternalLink href={ localizeUrl( 'https://wordpress.com/support/domains/custom-dns/' ) } />
22-
),
19+
a: <InlineSupportLink supportContext="manage-your-dns-records" showIcon={ false } />,
2320
},
2421
}
2522
);

client/my-sites/domains/domain-management/subpage-wrapper/headers/dns-records-header.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { ExternalLink } from '@automattic/components';
2-
import { localizeUrl } from '@automattic/i18n-utils';
31
import { SiteExcerptData } from '@automattic/sites';
42
import { translate } from 'i18n-calypso';
53
import { useMemo } from 'react';
4+
import InlineSupportLink from 'calypso/components/inline-support-link';
65
import NavigationHeader from 'calypso/components/navigation-header';
76
import { domainManagementAllOverview } from 'calypso/my-sites/domains/paths';
87
import SiteIcon from 'calypso/sites/components/sites-dataviews/site-icon';
@@ -16,9 +15,7 @@ const dnsRecordsSubtitle = translate(
1615
'DNS records change how your domain works. {{a}}Learn more{{/a}}.',
1716
{
1817
components: {
19-
a: (
20-
<ExternalLink href={ localizeUrl( 'https://wordpress.com/support/domains/custom-dns/' ) } />
21-
),
18+
a: <InlineSupportLink supportContext="manage-your-dns-records" showIcon={ false } />,
2219
},
2320
}
2421
);

0 commit comments

Comments
 (0)