Merged in chore/remove-unused-exports (pull request #3485)

chore: Fix exports

* Fix exports


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2026-01-26 13:36:43 +00:00
parent 3d02a5257a
commit 0ab93dc80e
3 changed files with 5 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ import styles from "./infoCardWithImage.module.css"
import type { ImageVaultAsset } from "@scandic-hotels/common/utils/imageVault"
export interface InfoCardWithImageProps extends InfoCardProps {
interface InfoCardWithImageProps extends InfoCardProps {
image?: ImageVaultAsset
imagePosition?: "left" | "right" | "top"
}

View File

@@ -14,6 +14,8 @@ import TopLink from "../TopLink"
import styles from "./topMenu.module.css"
import { LanguageSwitcherTypesEnum } from "@/types/components/languageSwitcher/languageSwitcher"
export default async function TopMenu() {
// cached
const intl = await getIntl()
@@ -33,7 +35,7 @@ export default async function TopMenu() {
<div className={styles.content}>
<TopLink isLoggedIn={isLoggedIn} topLink={header.data.topLink} />
<div className={styles.options}>
<LanguageSwitcher type="desktopHeader" />
<LanguageSwitcher type={LanguageSwitcherTypesEnum.DesktopHeader} />
<HeaderLink href={findMyBookingUrl} iconName={IconName.Search}>
{intl.formatMessage({