Skip to content

Commit

Permalink
eslint fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
cbauerman committed Nov 15, 2021
1 parent 1414203 commit b9f7eef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ActivationScreenControls = props => {
/>
{ hasLicenseError && (
<div className="jp-license-activation-screen-controls--license-field-error">
<Icon icon='warning' />
<Icon icon={ warning } />
<span>{ licenseError }</span>
</div>
) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ const JetpackBackupDailyProductDetails = props => {
return (
<div>
<h1>
{
sprintf(
/* translators: "%s" is a is Celebration emoji 🎉. */
__( 'Your Jetpack Daily Backup is active! %s', 'jetpack' ),
String.fromCodePoint( 0x1f389 )
)
}
{ sprintf(
/* translators: "%s" is a is Celebration emoji 🎉. */
__( 'Your Jetpack Daily Backup is active! %s', 'jetpack' ),
String.fromCodePoint( 0x1f389 )
) }
</h1>
<p>
{ createInterpolateElement(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { sprintf, __ } from '@wordpress/i18n';
import { createInterpolateElement } from '@wordpress/element';
import PropTypes from 'prop-types';
import React from 'react';
Expand All @@ -18,13 +18,11 @@ const JetpackSecurityDailyProductDetails = props => {
return (
<div>
<h1>
{
sprintf(
/* translators: "%s" is a is Celebration emoji 🎉. */
__( 'Your Jetpack Daily Security is active! %s', 'jetpack' ),
String.fromCodePoint( 0x1f389 )
)
}
{ sprintf(
/* translators: "%s" is a is Celebration emoji 🎉. */
__( 'Your Jetpack Daily Security is active! %s', 'jetpack' ),
String.fromCodePoint( 0x1f389 )
) }
</h1>
<p>
{ createInterpolateElement(
Expand Down

0 comments on commit b9f7eef

Please sign in to comment.