fix: add title to find booking page
add email type to email field
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import FindMyBooking from "@/components/HotelReservation/FindMyBooking"
|
||||
import { getIntl } from "@/i18n"
|
||||
|
||||
import styles from "./page.module.css"
|
||||
|
||||
@@ -11,3 +12,11 @@ export default function GetBookingPage() {
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
export async function generateMetadata() {
|
||||
const intl = await getIntl()
|
||||
|
||||
return {
|
||||
title: intl.formatMessage({ id: "Find booking" }),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,6 +109,7 @@ export default function FindMyBooking() {
|
||||
defaultMessage: "Email",
|
||||
})}
|
||||
name="email"
|
||||
type="email"
|
||||
placeholder="anna@scandichotels.com"
|
||||
registerOptions={{ required: true }}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user