Skip to content

Commit

Permalink
Move hook to hooks directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitrox committed Sep 25, 2024
1 parent 9ef6c13 commit 767a906
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import AccountCard, { APPEARANCE } from '../account-card';
import useGoogleAdsAccount from '.~/hooks/useGoogleAdsAccount';
import useGoogleMCAccount from '.~/hooks/useGoogleMCAccount';
import AppSpinner from '../app-spinner';
import useCreateAccounts from './useCreateAccounts';
import useCreateAccounts from '../../hooks/useCreateAccounts';

/**
* Clicking on the "connect to a different Google account" button.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useEffect, useRef } from '@wordpress/element';
/**
* Internal dependencies
*/
import useCreateMCAccount from '../google-mc-account-card/useCreateMCAccount';
import useCreateMCAccount from '../components/google-mc-account-card/useCreateMCAccount';
import useUpsertAdsAccount from '.~/hooks/useUpsertAdsAccount';
import useExistingGoogleAdsAccounts from '.~/hooks/useExistingGoogleAdsAccounts';
import useExistingGoogleMCAccounts from '.~/hooks/useExistingGoogleMCAccounts';
Expand Down Expand Up @@ -54,7 +54,7 @@ const useCreateAccounts = () => {
! isResolvingExistingAdsAccount &&
hasFinishedResolutionForExistingMCAccounts;

accountCreationChecksResolvedRef.current = existingAccountsResolved;
accountCreationChecksResolvedRef.current = existingAccountsResolved;

if (
existingAccountsResolved &&
Expand Down

0 comments on commit 767a906

Please sign in to comment.