/** * External dependencies */ import { useSelect } from '@wordpress/data'; import { Spinner } from '@woocommerce/components'; import { ONBOARDING_STORE_NAME, SETTINGS_STORE_NAME } from '@woocommerce/data'; /** * Internal dependencies */ import { BusinessFeaturesList } from './flows/selective-bundle'; import './style.scss'; export const BusinessDetailsStep = ( props ) => { const { profileItems, isLoading } = useSelect( ( select ) => { return { isLoading: ! select( ONBOARDING_STORE_NAME ).hasFinishedResolution( 'getProfileItems' ) || ! select( SETTINGS_STORE_NAME ).hasFinishedResolution( 'getSettings', [ 'general' ] ), profileItems: select( ONBOARDING_STORE_NAME ).getProfileItems(), }; } ); if ( isLoading ) { return (