Skip to content

Commit

Permalink
woop: fetch status in transfer step
Browse files Browse the repository at this point in the history
  • Loading branch information
retrofox committed Dec 3, 2021
1 parent a7824f6 commit d435457
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/signup/steps/woocommerce-install/transfer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useI18n } from '@wordpress/react-i18n';
import { ReactElement, useState, useEffect } from 'react';
import { useSelector, useDispatch } from 'react-redux';
import StepWrapper from 'calypso/signup/step-wrapper';
import { fetchAutomatedTransferStatus } from 'calypso/state/automated-transfer/actions';
import { transferStates } from 'calypso/state/automated-transfer/constants';
import {
isFetchingAutomatedTransferStatus,
Expand Down Expand Up @@ -41,6 +42,7 @@ export default function Transfer( props: WooCommerceInstallProps ): ReactElement
return;
}

dispatch( fetchAutomatedTransferStatus( siteId ) );
dispatch( initiateThemeTransfer( siteId, null, 'woocommerce' ) );
}, [ siteId, dispatch ] );

Expand Down

0 comments on commit d435457

Please sign in to comment.