import { Temp } from "@scandic-hotels/booking-flow/test-entry" import { Lang } from "@scandic-hotels/common/constants/language" import { Typography } from "@scandic-hotels/design-system/Typography" import { serverClient } from "@/lib/trpc" import { getIntl } from "../i18n" import { ClientComponent } from "./ClientComponent" import styles from "./page.module.css" export default async function Home() { const intl = await getIntl() const caller = await serverClient() const destinations = await caller.autocomplete.destinations({ lang: Lang.en, includeTypes: ["hotels"], query: "Göteborg", }) const hotel = destinations.hits.hotels[0].name return (
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}

hello world with data: {hotel}

{intl.formatMessage({ defaultMessage: "Map of the city" })}



{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}

from booking-flow package:

) }