diff --git a/src/OnboardingSPA/steps/TheFork/index.js b/src/OnboardingSPA/steps/TheFork/index.js index 7da697a97..ae1ba67a3 100644 --- a/src/OnboardingSPA/steps/TheFork/index.js +++ b/src/OnboardingSPA/steps/TheFork/index.js @@ -1,7 +1,7 @@ import CommonLayout from '../../components/Layouts/Common'; import { useEffect } from '@wordpress/element'; -import { useDispatch } from '@wordpress/data'; +import { useSelect, useDispatch } from '@wordpress/data'; import { store as nfdOnboardingStore } from '../../store'; import { FOOTER_SITEGEN, HEADER_SITEGEN } from '../../../constants'; @@ -12,6 +12,12 @@ import StartOptions from '../../components/StartOptions'; import getContents from './contents'; const TheFork = () => { + const { migrationUrl } = useSelect( ( select ) => { + return { + migrationUrl: select( nfdOnboardingStore ).getMigrationUrl(), + }; + } ); + const { setIsHeaderEnabled, setSidebarActiveView, @@ -53,7 +59,8 @@ const TheFork = () => {
{ content.importtext } diff --git a/src/OnboardingSPA/steps/TheFork/stylesheet.scss b/src/OnboardingSPA/steps/TheFork/stylesheet.scss index 5c348f462..c2f831d26 100644 --- a/src/OnboardingSPA/steps/TheFork/stylesheet.scss +++ b/src/OnboardingSPA/steps/TheFork/stylesheet.scss @@ -50,7 +50,7 @@ text-align: center; font-size: 18px; line-height: 20px; - margin-top: 35px !important; + margin: 35px !important; } } }