{ currentTask ? (
currentTask.container
) : (
) }
);
}
}
export default compose(
withSelect( select => {
const { getProfileItems, getOptions } = select( 'wc-api' );
const profileItems = getProfileItems();
const options = getOptions( [ 'woocommerce_onboarding_payments' ] );
const paymentsCompleted = get(
options,
[ 'woocommerce_onboarding_payments', 'completed' ],
false
);
return { profileItems, paymentsCompleted };
} )
)( TaskDashboard );