Skip to content

Commit

Permalink
move hosting-feature components one level up
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand committed Nov 25, 2024
1 parent 6c57e7f commit 5d023b7
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/hosting/hosting-features/controller.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Context as PageJSContext } from '@automattic/calypso-router';
import HostingFeatures from 'calypso/sites/tools/hosting-features/components/hosting-features';
import HostingFeatures from 'calypso/sites/hosting-features/components/hosting-features';

export function hostingFeatures( context: PageJSContext, next: () => void ) {
context.primary = <HostingFeatures />;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { SiteExcerptData } from '@automattic/sites';
import { useI18n } from '@wordpress/react-i18n';
import React, { useMemo, useEffect } from 'react';
import ItemPreviewPane from 'calypso/a8c-for-agencies/components/items-dashboard/item-preview-pane';
import HostingFeaturesIcon from 'calypso/sites/hosting-features/components/hosting-features-icon';
import { areHostingFeaturesSupported } from 'calypso/sites/hosting-features/features';
import HostingFeaturesIcon from 'calypso/sites/tools/hosting-features/components/hosting-features-icon';
import { useStagingSite } from 'calypso/sites/tools/staging-site/hooks/use-staging-site';
import { getMigrationStatus } from 'calypso/sites-dashboard/utils';
import { useSelector } from 'calypso/state';
Expand Down
2 changes: 1 addition & 1 deletion client/sites/tools/controller.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { __ } from '@wordpress/i18n';
import { useSelector } from 'react-redux';
import HostingFeatures from 'calypso/sites/hosting-features/components/hosting-features';
import { getSelectedSiteSlug } from 'calypso/state/ui/selectors';
import { SidebarItem, Sidebar, PanelWithSidebar } from '../components/panel-sidebar';
import { useAreAdvancedHostingFeaturesSupported } from '../hosting-features/features';
Expand All @@ -11,7 +12,6 @@ import {
Deployments,
} from './deployments';
import { indexPage } from './deployments/routes';
import HostingFeatures from './hosting-features/components/hosting-features';
import Logs from './logs';
import Monitoring from './monitoring';
import useSftpSshSettingTitle from './sftp-ssh/hooks/use-sftp-ssh-setting-title';
Expand Down

0 comments on commit 5d023b7

Please sign in to comment.