Fix PayPal billing flow and mobile admin UX
This commit is contained in:
@@ -168,7 +168,10 @@ const WizardBody: React.FC<{
|
||||
return true;
|
||||
}, [atLastStep, authUser, currentStep, isAuthenticated, paymentCompleted, selectedPackage]);
|
||||
|
||||
const shouldShowNextButton = useMemo(() => currentStep !== 'confirmation', [currentStep]);
|
||||
const shouldShowNextButton = useMemo(
|
||||
() => currentStep !== 'confirmation' && currentStep !== 'payment',
|
||||
[currentStep]
|
||||
);
|
||||
const highlightNextCta = currentStep === 'payment' && paymentCompleted;
|
||||
|
||||
const handleNext = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user