mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 02:28:18 +00:00
Removed skip for now button from passenger information
This commit is contained in:
@@ -993,7 +993,8 @@ function PassengersForm() {
|
|||||||
|
|
||||||
const onInvalid = () => {
|
const onInvalid = () => {
|
||||||
// Sections still behind the Fayda verify screen stay collapsed here — they only expand
|
// 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.');
|
setSubmitError('Please fix the highlighted errors before continuing.');
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1153,14 +1154,6 @@ function PassengersForm() {
|
|||||||
Finish verifying Passenger {(verifyingIndex ?? 0) + 1} first
|
Finish verifying Passenger {(verifyingIndex ?? 0) + 1} first
|
||||||
</p>
|
</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>
|
</div>
|
||||||
) : showManualEntryLink ? (
|
) : showManualEntryLink ? (
|
||||||
<div className="text-center py-8">
|
<div className="text-center py-8">
|
||||||
|
|||||||
Reference in New Issue
Block a user