Skip to content

Commit

Permalink
Remove unused imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvinb committed Oct 11, 2024
1 parent 4da52c5 commit 25ed467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/src/components/paid-ads/ads-campaign/ads-campaign.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import useTargetAudienceFinalCountryCodes from '.~/hooks/useTargetAudienceFinalC
/**
* Renders the container of the form content for campaign management.
*
* Please note that this component relies on an CampaignAssetsForm's context and custom adapter,
* so it expects a `CampaignAssetsForm` to existing in its parents.
* Please note that this component relies on a CampaignAssetsForm's context and custom adapter,
* so it expects a `CampaignAssetsForm` to exist in its parents.
*
* @fires gla_documentation_link_click with `{ context: 'create-ads' | 'edit-ads' | 'setup-ads', link_id: 'see-what-ads-look-like', href: 'https://support.google.com/google-ads/answer/6275294' }`
* @param {Object} props React props.
Expand Down
6 changes: 0 additions & 6 deletions js/src/setup-ads/ads-stepper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,16 @@ import { useState } from '@wordpress/element';
* Internal dependencies
*/
import SetupAccounts from './setup-accounts';
import AppButton from '.~/components/app-button';
import AdsCampaign from '.~/components/paid-ads/ads-campaign';
import useEventPropertiesFilter from '.~/hooks/useEventPropertiesFilter';
import useGoogleAdsAccountBillingStatus from '.~/hooks/useGoogleAdsAccountBillingStatus';
import LaunchPaidCampaignButton from './launch-paid-campaign-button';
import { GOOGLE_ADS_BILLING_STATUS } from '.~/constants';
import {
recordStepperChangeEvent,
recordStepContinueEvent,
FILTER_ONBOARDING,
CONTEXT_ADS_ONBOARDING,
} from '.~/utils/tracks';

const { APPROVED } = GOOGLE_ADS_BILLING_STATUS;

/**
* @param {Object} props React props
* @param {Object} [props.isSubmitting] Where the form ads setup has been submitted via the useAdsSetupCompleteCallback hook.
Expand All @@ -32,7 +27,6 @@ const { APPROVED } = GOOGLE_ADS_BILLING_STATUS;
*/
const AdsStepper = ( { isSubmitting } ) => {
const [ step, setStep ] = useState( '1' );
const { billingStatus } = useGoogleAdsAccountBillingStatus();

useEventPropertiesFilter( FILTER_ONBOARDING, {
context: CONTEXT_ADS_ONBOARDING,
Expand Down

0 comments on commit 25ed467

Please sign in to comment.