Skip to content

Commit 62dfc72

Browse files
committed
Remove all arrow keys.
1 parent b31e906 commit 62dfc72

File tree

8 files changed

+30
-28
lines changed

8 files changed

+30
-28
lines changed

client/a8c-for-agencies/components/a4a-request-wp-admin-access/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function A4ARequestWPAdminAccess() {
3535
className="a4a-request-wp-admin-access__learn-more-button"
3636
onClick={ onLearnMoreClick }
3737
>
38-
{ translate( 'Learn more about team member permissions' ) }
38+
{ translate( 'Learn more about team member permissions' ) }
3939
</Button>
4040
</div>
4141
<div className="a4a-request-wp-admin-access__illustration">

client/a8c-for-agencies/sections/partner-directory/dashboard/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,27 +214,27 @@ const PartnerDirectoryDashboard = () => {
214214
className="partner-directory-dashboard__learn-more-section"
215215
heading={ translate( 'Learn more about the program' ) }
216216
>
217-
<ExternalLink
218-
href="#"
217+
<Button
218+
variant="link"
219219
onClick={ () =>
220220
showSupportGuide(
221221
'https://agencieshelp.automattic.com/knowledge-base/agency-directory-listings'
222222
)
223223
}
224224
>
225225
{ translate( 'How does the approval process work?' ) }
226-
</ExternalLink>
226+
</Button>
227227
<br />
228-
<ExternalLink
229-
href="#"
228+
<Button
229+
variant="link"
230230
onClick={ () =>
231231
showSupportGuide(
232232
'https://agencieshelp.automattic.com/knowledge-base/agency-directory-listings/#profile-content'
233233
)
234234
}
235235
>
236236
{ translate( 'What can I put on my public profile?' ) }
237-
</ExternalLink>
237+
</Button>
238238
</StepSection>
239239
);
240240

client/a8c-for-agencies/sections/referrals/consolidated-view/index.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { formatCurrency } from '@automattic/number-formatters';
2+
import { Button } from '@wordpress/components';
23
import { useTranslate } from 'i18n-calypso';
34
import {
45
ConsolidatedStatsCard,
@@ -32,14 +33,13 @@ export default function ConsolidatedViews( { referrals, totalPayouts }: Consolid
3233
popoverTitle={ translate( 'Total payouts' ) }
3334
popoverContent={ translate(
3435
'The exact amount your agency has been paid out for referrals.' +
35-
'{{br/}}{{br/}}{{a}}Learn more{{/a}}',
36+
'{{br/}}{{br/}}{{a}}Learn more{{/a}}',
3637
{
3738
components: {
3839
a: (
39-
// eslint-disable-next-line jsx-a11y/anchor-is-valid
40-
<a
40+
<Button
41+
variant="link"
4142
onClick={ () => showSupportGuide( AGENCY_EARNINGS_LEARN_MORE_LINK ) }
42-
href="#"
4343
/>
4444
),
4545
br: <br />,
@@ -59,12 +59,14 @@ export default function ConsolidatedViews( { referrals, totalPayouts }: Consolid
5959
popoverTitle={ translate( 'Pending orders' ) }
6060
popoverContent={ translate(
6161
'These are the number of pending referrals (unpaid carts). ' +
62-
'{{br/}}{{br/}}{{a}}Learn more{{/a}}',
62+
'{{br/}}{{br/}}{{a}}Learn more{{/a}}',
6363
{
6464
components: {
6565
a: (
66-
// eslint-disable-next-line jsx-a11y/anchor-is-valid
67-
<a onClick={ () => showSupportGuide( AGENCY_EARNINGS_LEARN_MORE_LINK ) } href="#" />
66+
<Button
67+
variant="link"
68+
onClick={ () => showSupportGuide( AGENCY_EARNINGS_LEARN_MORE_LINK ) }
69+
/>
6870
),
6971
br: <br />,
7072
},

client/a8c-for-agencies/sections/referrals/consolidated-view/payout-cards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function PayoutAmount( {
7474
onClick={ () => showSupportGuide( AGENCY_EARNINGS_LEARN_MORE_LINK ) }
7575
variant="link"
7676
>
77-
{ translate( 'Learn more' ) }
77+
{ translate( 'Learn more' ) }
7878
</Button>
7979
</div>
8080
</div>

client/a8c-for-agencies/sections/team/primary/get-started/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default function GetStarted() {
9696
variant="link"
9797
onClick={ onLearnMoreClick }
9898
>
99-
{ translate( 'Team members Knowledge Base article' ) }
99+
{ translate( 'Team members Knowledge Base article' ) }
100100
</Button>
101101
<br />
102102
</StepSection>

client/a8c-for-agencies/sections/woopayments/dashboard-content/consolidated-views.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { formatCurrency } from '@automattic/number-formatters';
2+
import { Button } from '@wordpress/components';
23
import { useTranslate } from 'i18n-calypso';
34
import {
45
ConsolidatedStatsCard,
@@ -27,18 +28,17 @@ const WooPaymentsConsolidatedViews = () => {
2728
popoverTitle={ translate( 'Total WooPayments commissions paid' ) }
2829
popoverContent={ translate(
2930
'The total amount of transactions processed through WooPayments across all your client sites. ' +
30-
'{{br/}}{{br/}}{{a}}Learn more{{/a}}',
31+
'{{br/}}{{br/}}{{a}}Learn more{{/a}}',
3132
{
3233
components: {
3334
a: (
34-
// eslint-disable-next-line jsx-a11y/anchor-is-valid
35-
<a
35+
<Button
36+
variant="link"
3637
onClick={ () =>
3738
showSupportGuide(
3839
'https://agencieshelp.automattic.com/knowledge-base/earn-revenue-share-when-clients-use-woopayments/'
3940
)
4041
}
41-
href="#"
4242
/>
4343
),
4444
br: <br />,

client/a8c-for-agencies/sections/woopayments/primary/woopayments-dashboard/empty-state.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ExternalLink } from '@wordpress/components';
1+
import { Button } from '@wordpress/components';
22
import { useTranslate } from 'i18n-calypso';
33
import StepSection from 'calypso/a8c-for-agencies/components/step-section';
44
import StepSectionItem from 'calypso/a8c-for-agencies/components/step-section-item';
@@ -37,7 +37,8 @@ const WooPaymentsDashboardEmptyState = () => {
3737
</StepSectionItem>
3838
</StepSection>
3939
<StepSection heading={ translate( 'Learn more about the program' ) }>
40-
<ExternalLink
40+
<Button
41+
variant="link"
4142
onClick={ () => {
4243
dispatch(
4344
recordTracksEvent( 'calypso_a4a_woopayments_learn_more_about_program_click' )
@@ -46,10 +47,9 @@ const WooPaymentsDashboardEmptyState = () => {
4647
'https://agencieshelp.automattic.com/knowledge-base/earn-revenue-share-when-clients-use-woopayments/'
4748
);
4849
} }
49-
href="#"
5050
>
5151
{ translate( 'Check out the full details in the Knowledge Base' ) }
52-
</ExternalLink>
52+
</Button>
5353
</StepSection>
5454
</div>
5555
);

client/a8c-for-agencies/sections/woopayments/primary/woopayments-overview/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import page from '@automattic/calypso-router';
22
import { formatCurrency } from '@automattic/number-formatters';
3-
import { Button, ExternalLink } from '@wordpress/components';
3+
import { Button } from '@wordpress/components';
44
import { useTranslate } from 'i18n-calypso';
55
import { useMemo, useCallback } from 'react';
66
import { CONTACT_URL_HASH_FRAGMENT_WITH_PRODUCT } from 'calypso/a8c-for-agencies/components/a4a-contact-support-widget';
@@ -243,17 +243,17 @@ const WooPaymentsOverview = () => {
243243
);
244244

245245
const seeFullTermsLink = (
246-
<ExternalLink
246+
<Button
247+
variant="link"
247248
onClick={ () => {
248249
dispatch( recordTracksEvent( 'calypso_a4a_woopayments_see_full_terms_click' ) );
249250
showSupportGuide(
250251
'https://agencieshelp.automattic.com/knowledge-base/earn-revenue-share-when-clients-use-woopayments/'
251252
);
252253
} }
253-
href="#"
254254
>
255255
{ translate( 'See full terms' ) }
256-
</ExternalLink>
256+
</Button>
257257
);
258258

259259
return (

0 commit comments

Comments
 (0)