Merged in chore/remove-unused-env-vars (pull request #2463)
chore: Remove unused env vars and feature toggles * Remove unused env vars and feature toggles Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -7,7 +7,6 @@ import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import { languages } from "@/constants/languages"
|
||||
import { env } from "@/env/client"
|
||||
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||
@@ -57,7 +56,6 @@ export default function LanguageSwitcherContent({
|
||||
<Link
|
||||
className={styles.link}
|
||||
href={replaceUrlPart(pathname, url)}
|
||||
rel={env.isLangLive(key) ? undefined : "nofollow"}
|
||||
onClick={() => onLanguageSwitch(key)}
|
||||
variant="languageSwitcher"
|
||||
keepSearchParams
|
||||
|
||||
Reference in New Issue
Block a user