Skip to content

Commit

Permalink
Nav redesign - update add domain button text (#90571)
Browse files Browse the repository at this point in the history
  • Loading branch information
eoigal committed May 10, 2024
1 parent fc4a6c7 commit 7c736a6
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { recordTracksEvent } from '@automattic/calypso-analytics';
import page from '@automattic/calypso-router';
import { Button } from '@automattic/components';
import { isMobile } from '@automattic/viewport';
import { Icon, plus, search } from '@wordpress/icons';
import { Icon, search } from '@wordpress/icons';
import classNames from 'classnames';
import { localize } from 'i18n-calypso';
import PropTypes from 'prop-types';
Expand Down Expand Up @@ -119,14 +119,11 @@ class AddDomainButton extends Component {

let label = translate( 'Other domain options' );
if ( specificSiteActions ) {
label = translate( 'Add a domain' );
label = translate( 'Add new domain' );
}

return (
<>
<Icon icon={ plus } className="options-domain-button__add gridicon" viewBox="2 2 20 20" />
{ ! isMobile() && <span className="options-domain-button__desktop">{ label }</span> }
</>
<>{ ! isMobile() && <span className="options-domain-button__desktop">{ label }</span> }</>
);
}

Expand Down

0 comments on commit 7c736a6

Please sign in to comment.