Merged in revert-pr-1925 (pull request #1927)

Revert "Feat/sw 2323 find booking (pull request #1925)"

Approved-by: Anton Gunnarsson
This commit is contained in:
Linus Flood
2025-05-02 13:05:42 +00:00
parent 87efb72ff2
commit 6979ac0c3b
69 changed files with 883 additions and 1508 deletions

View File

@@ -18,10 +18,10 @@ import {
import styles from "./findMyBooking.module.css"
export default function AdditionalInfoForm({
refId,
confirmationNumber,
lastName,
}: {
refId: string
confirmationNumber: string
lastName: string
}) {
const router = useRouter()
@@ -37,7 +37,7 @@ export default function AdditionalInfoForm({
const values = form.getValues()
const value = new URLSearchParams({
...values,
RefId: refId,
confirmationNumber,
lastName,
}).toString()
document.cookie = `bv=${encodeURIComponent(value)}; Path=/; Max-Age=600; Secure; SameSite=Strict`