fix: unbreak toApiLang call that failed everytime
This commit is contained in:
committed by
Michael Zetterberg
parent
30c7eb07fa
commit
6d869ceba7
@@ -34,6 +34,12 @@ export default async function SelectRatePage({
|
||||
return notFound()
|
||||
}
|
||||
|
||||
// If someone tries to update the url with
|
||||
// a bookingCode also, then we need to remove it
|
||||
if (isRedemption && searchParams.bookingCode) {
|
||||
searchParams.bookingCode = ""
|
||||
}
|
||||
|
||||
return (
|
||||
<Suspense
|
||||
key={suspenseKey}
|
||||
|
||||
Reference in New Issue
Block a user