Skip to content

Commit

Permalink
Refactor hosting overview controller to handle redirect query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
agrullon95 committed Sep 30, 2024
1 parent 670295b commit b0d9b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/hosting/overview/controller.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Context as PageJSContext } from '@automattic/calypso-router';
import { getQueryArg } from '@wordpress/url';
import HostingOverview from 'calypso/hosting/overview/components/hosting-overview';
import HostingActivate from 'calypso/hosting/server-settings/hosting-activate';
import Hosting from 'calypso/hosting/server-settings/main';
import { getQueryArg } from '@wordpress/url';

export function hostingOverview( context: PageJSContext, next: () => void ) {
const redirectToQueryParam = String( getQueryArg( context.path, 'redirect_to' ) );
Expand Down

0 comments on commit b0d9b00

Please sign in to comment.