feat(SW-68): refactor digital signature

This commit is contained in:
Fredrik Thorsson
2024-08-12 17:13:56 +02:00
parent 5c39a1dcbd
commit e7af67ca73
4 changed files with 19 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ import { LangParams, PageArgs } from "@/types/params"
export default async function SelectHotelPage({
params,
}: PageArgs<LangParams>) {
const { formatMessage } = await getIntl()
const intl = await getIntl()
const { attributes } = await serverClient().hotel.getHotel({
hotelId: "d98c7ab1-ebaa-4102-b351-758daf1ddf55",
@@ -44,7 +44,7 @@ export default async function SelectHotelPage({
variant="underscored"
href="#"
>
{formatMessage({ id: "Show map" })}
{intl.formatMessage({ id: "Show map" })}
<ChevronRightIcon color="burgundy" className={styles.icon} />
</Link>
<HotelFilter filters={hotelFilters} />