Skip to content

Commit

Permalink
Site Migration: Move ticket creation hook to a more reusable folder (#…
Browse files Browse the repository at this point in the history
…98502)

* Move the ticket creation hook to a more reusable folder
  • Loading branch information
gabrielcaires authored and Jess Boctor committed Jan 22, 2025
1 parent c0c6249 commit 011df5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import { Step } from 'calypso/landing/stepper/declarative-flow/internals/types';
import { useQuery } from 'calypso/landing/stepper/hooks/use-query';
import { useSite } from 'calypso/landing/stepper/hooks/use-site';
import { useSiteSlugParam } from 'calypso/landing/stepper/hooks/use-site-slug-param';
import { useSubmitMigrationTicket } from 'calypso/landing/stepper/hooks/use-submit-migration-ticket';
import { recordTracksEvent } from 'calypso/lib/analytics/tracks';
import { urlToDomainAndPath } from 'calypso/lib/url';
import { UserData } from 'calypso/lib/user/user';
import { useSelector } from 'calypso/state';
import { getCurrentUser } from 'calypso/state/current-user/selectors';
import { useSubmitMigrationTicket } from './hooks/use-submit-migration-ticket';
import './style.scss';

interface WhatToExpectProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import { useMemo, useEffect } from 'react';
import { useSearchParams } from 'react-router-dom';
import FormattedHeader from 'calypso/components/formatted-header';
import { useSiteSlugParam } from 'calypso/landing/stepper/hooks/use-site-slug-param';
import { useSubmitMigrationTicket } from 'calypso/landing/stepper/hooks/use-submit-migration-ticket';
import { UserData } from 'calypso/lib/user/user';
import { useSelector } from 'calypso/state';
import { getCurrentUser } from 'calypso/state/current-user/selectors';
import FlowCard from '../components/flow-card';
import { redirect } from '../import/util';
import { useSubmitMigrationTicket } from '../importer-migrate-message/hooks/use-submit-migration-ticket';
import type { Step } from '../../types';
import './style.scss';

Expand Down

0 comments on commit 011df5b

Please sign in to comment.