Skip to content

Commit

Permalink
Open privacy links in the same tab (#95006)
Browse files Browse the repository at this point in the history
  • Loading branch information
DustyReagan authored Oct 1, 2024
1 parent 9025c18 commit c840a78
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions client/me/privacy/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Component } from 'react';
import { connect } from 'react-redux';
import DocumentHead from 'calypso/components/data/document-head';
import QueryUserSettings from 'calypso/components/data/query-user-settings';
import ExternalLink from 'calypso/components/external-link';
import FormButton from 'calypso/components/forms/form-button';
import FormFieldset from 'calypso/components/forms/form-fieldset';
import Main from 'calypso/components/main';
Expand Down Expand Up @@ -57,12 +56,8 @@ class Privacy extends Component {

const isSubmitButtonDisabled = ! hasUnsavedUserSettings || isUpdatingUserSettings;

const cookiePolicyLink = (
<ExternalLink href={ localizeUrl( 'https://automattic.com/cookies/' ) } target="_blank" />
);
const privacyPolicyLink = (
<ExternalLink href={ localizeUrl( 'https://automattic.com/privacy/' ) } target="_blank" />
);
const cookiePolicyLink = <a href={ localizeUrl( 'https://automattic.com/cookies/' ) } />;
const privacyPolicyLink = <a href={ localizeUrl( 'https://automattic.com/privacy/' ) } />;

return (
<Main wideLayout className="privacy">
Expand Down

0 comments on commit c840a78

Please sign in to comment.