From 1b7c9fecc293db31f1a43dc55acbabbc2d1ee0d0 Mon Sep 17 00:00:00 2001 From: Jonas Carlsen Date: Fri, 23 Feb 2024 12:29:36 +0100 Subject: [PATCH] Only show nb and nn in language selector --- src/containers/Masthead/MastheadContainer.tsx | 3 +-- src/containers/Page/components/Footer.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/containers/Masthead/MastheadContainer.tsx b/src/containers/Masthead/MastheadContainer.tsx index 5573e99edd..829d747719 100644 --- a/src/containers/Masthead/MastheadContainer.tsx +++ b/src/containers/Masthead/MastheadContainer.tsx @@ -23,7 +23,6 @@ import FeideLoginButton from "../../components/FeideLoginButton"; import config from "../../config"; import { SKIP_TO_CONTENT_ID } from "../../constants"; import { GQLMastHeadQuery, GQLMastHeadQueryVariables } from "../../graphqlTypes"; -import { supportedLanguages } from "../../i18n"; import { useIsNdlaFilm, useUrnIds } from "../../routeHelpers"; import { useGraphQuery } from "../../util/runQueries"; import { constructNewPath } from "../../util/urlHelper"; @@ -114,7 +113,7 @@ const MastheadContainer = () => { - + {config.feideEnabled && ( diff --git a/src/containers/Page/components/Footer.tsx b/src/containers/Page/components/Footer.tsx index 58d65d6d1c..8c9025f746 100644 --- a/src/containers/Page/components/Footer.tsx +++ b/src/containers/Page/components/Footer.tsx @@ -164,7 +164,7 @@ const FooterWrapper = () => { languageSelector={