Skip to content

Commit

Permalink
separate external and internal dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Paun committed Mar 11, 2024
1 parent d330d0a commit 10d6db8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 4 additions & 0 deletions client/overview/survey/emoticons.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
* External dependencies
*/
import React from 'react';

/**
* Internal dependencies
*/
import strings from './strings';

const Emoticons = ( props ) => {
Expand Down
12 changes: 4 additions & 8 deletions client/overview/survey/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* External dependencies
*/
import React from 'react';
import { HorizontalRule } from '@wordpress/primitives';

/**
* Internal dependencies.
Expand All @@ -18,7 +19,6 @@ import {
import { __, sprintf } from '@wordpress/i18n';

Check warning on line 19 in client/overview/survey/index.tsx

View workflow job for this annotation

GitHub Actions / JS linting

'sprintf' is defined but never used
import './style.scss';
import Emoticons from 'wcpay/overview/survey/emoticons';
import { HorizontalRule } from '@wordpress/primitives';
import { useOverviewSurveyContext } from './context';
import { OverviewSurveyFields } from 'wcpay/overview/survey/types';
import close from 'wcpay/overview/survey/icons/close';
Expand Down Expand Up @@ -135,13 +135,9 @@ const Survey = () => {
readOnly={ 'pending' === status }
/>
<p className="survey-bottom-disclaimer">
{ sprintf(
/* translators: %s: WooPayments */
__(
'Your feedback will be only be shared with WooCommerce and treated pursuant to our privacy policy.',
'woocommerce-payments'
),
'WooPayments'
{ __(
'Your feedback will be only be shared with WooCommerce and treated pursuant to our privacy policy.',
'woocommerce-payments'
) }
</p>
<div className="wcpay-confirmation-modal__footer">
Expand Down

0 comments on commit 10d6db8

Please sign in to comment.