🐛 Add missing break

This commit is contained in:
Philipp Stracker 2024-12-02 16:40:51 +01:00
parent f570391387
commit d08fe0dc33
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -48,6 +48,7 @@ const Navigation = ( { setStep, setCompleted, currentStep, stepperOrder } ) => {
'Choose checkout options',
'woocommerce-paypal-payments'
);
break;
case 4:
navigationTitle = __(
'Connect your PayPal account',

View file

@ -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 ) {