Merged in chore/remove-unused-exports (pull request #3485)
chore: Fix exports * Fix exports Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user