mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🐛 Add missing break
This commit is contained in:
parent
f570391387
commit
d08fe0dc33
2 changed files with 2 additions and 2 deletions
|
@ -48,6 +48,7 @@ const Navigation = ( { setStep, setCompleted, currentStep, stepperOrder } ) => {
|
|||
'Choose checkout options',
|
||||
'woocommerce-paypal-payments'
|
||||
);
|
||||
break;
|
||||
case 4:
|
||||
navigationTitle = __(
|
||||
'Connect your PayPal account',
|
||||
|
|
|
@ -10,9 +10,8 @@ const BUSINESS_RADIO_GROUP_NAME = 'business';
|
|||
const StepBusiness = ( {} ) => {
|
||||
const { isCasualSeller, setIsCasualSeller } = OnboardingHooks.useBusiness();
|
||||
|
||||
const handleSellerTypeChange = ( value ) => {
|
||||
const handleSellerTypeChange = ( value ) =>
|
||||
setIsCasualSeller( BUSINESS_TYPES.CASUAL_SELLER === value );
|
||||
};
|
||||
|
||||
const getCurrentValue = () => {
|
||||
if ( isCasualSeller === null ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue