Skip to content

Commit

Permalink
re-organised lys xstate files
Browse files Browse the repository at this point in the history
  • Loading branch information
rjchow committed Mar 18, 2024
1 parent 6e75dd4 commit 13f4245
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions plugins/woocommerce-admin/client/launch-store/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import {
sidebarMachine,
SidebarComponentProps,
SidebarContainer,
} from './sidebar';
} from './sidebar/xstate';
import {
MainContentMachineEvents,
mainContentMachine,
MainContentComponentProps,
MainContentContainer,
} from './main-content';
} from './main-content/xstate';

export type LaunchYourStoreComponentProps = {
sendEventToSidebar: ( arg0: SidebarMachineEvents ) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import classnames from 'classnames';
/**
* Internal dependencies
*/
import type { MainContentComponentProps } from '../main-content';
import type { MainContentComponentProps } from '../xstate';
export const LaunchYourStoreSuccess = ( props: MainContentComponentProps ) => {
return (
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import classnames from 'classnames';
/**
* Internal dependencies
*/
import type { MainContentComponentProps } from '../main-content';
import type { MainContentComponentProps } from '../xstate';
export const LoadingPage = ( props: MainContentComponentProps ) => {
return (
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import classnames from 'classnames';
/**
* Internal dependencies
*/
import type { MainContentComponentProps } from '../main-content';
import type { MainContentComponentProps } from '../xstate';

export const SitePreviewPage = ( props: MainContentComponentProps ) => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import React from 'react';
/**
* Internal dependencies
*/
import { LoadingPage } from '../loading';
import { LaunchYourStoreSuccess } from '../launch-store-success';
import { SitePreviewPage } from '../site-preview';
import { LoadingPage } from './pages/loading';
import { LaunchYourStoreSuccess } from './pages/launch-store-success';
import { SitePreviewPage } from './pages/site-preview';
import type { LaunchYourStoreComponentProps } from '..';

export type MainContentMachineContext = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import classnames from 'classnames';
/**
* Internal dependencies
*/
import type { SidebarComponentProps } from '../sidebar';
import type { SidebarComponentProps } from '../xstate';
export const LaunchYourStoreHubSidebar: React.FC< SidebarComponentProps > = (
props
) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import classnames from 'classnames';
/**
* Internal dependencies
*/
import { LaunchYourStoreHubSidebar } from '../hub';
import { LaunchYourStoreHubSidebar } from './components/launch-store-hub';
import type { LaunchYourStoreComponentProps } from '..';
import type { mainContentMachine } from '../main-content';
import type { mainContentMachine } from '../main-content/xstate';

export type SidebarMachineContext = {
externalUrl: string | null;
Expand Down

0 comments on commit 13f4245

Please sign in to comment.