Removed skip for now button from passenger information

This commit is contained in:
Roba Boru
2026-07-14 00:14:54 +03:00
parent 2e558b00c0
commit a2f234a128

View File

@@ -993,7 +993,8 @@ function PassengersForm() {
const onInvalid = () => {
// Sections still behind the Fayda verify screen stay collapsed here — they only expand
// when the user explicitly clicks "Skip for now" / "Enter details manually".
// when the user explicitly clicks "Enter details manually" (shown only when Fayda is
// unavailable).
setSubmitError('Please fix the highlighted errors before continuing.');
};
@@ -1153,14 +1154,6 @@ function PassengersForm() {
Finish verifying Passenger {(verifyingIndex ?? 0) + 1} first
</p>
)}
<button
type="button"
onClick={() => toggleForm(index)}
disabled={isVerifyingThis}
className="text-sm text-gray-500 dark:text-gray-400 hover:underline mt-3 block mx-auto disabled:opacity-50 disabled:cursor-not-allowed"
>
Skip for now
</button>
</div>
) : showManualEntryLink ? (
<div className="text-center py-8">