mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Merge pull request #655 from Tria-plc/alpha
Removed skip for now button from passenger information
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user