diff --git a/aksel.nav.no/website/components/SanityBlockContent.tsx b/aksel.nav.no/website/components/SanityBlockContent.tsx index 30cbd4aa34..8c62df30d9 100644 --- a/aksel.nav.no/website/components/SanityBlockContent.tsx +++ b/aksel.nav.no/website/components/SanityBlockContent.tsx @@ -17,7 +17,6 @@ import { Bilde, CodeExamples, DoDont, - LevelTwoHeading, PropsSeksjon, RelatertInnhold, SideModul, @@ -236,7 +235,15 @@ function SanitizedBlock({ ); case "h2": return ( - {children} + + {children} + ); case "h3": return ( diff --git a/aksel.nav.no/website/components/index.ts b/aksel.nav.no/website/components/index.ts index 31e5014ac6..1e5ef61de2 100644 --- a/aksel.nav.no/website/components/index.ts +++ b/aksel.nav.no/website/components/index.ts @@ -18,6 +18,5 @@ export * from "./sanity-modules/UuFeedback"; export { default as Video } from "./sanity-modules/Video"; export * from "./website-modules/BreadCrumbs"; export { default as Feedback } from "./website-modules/feedback"; -export * from "./website-modules/H2"; export * from "./website-modules/toc/TOC"; export * from "./website-modules/utils"; diff --git a/aksel.nav.no/website/components/sanity-modules/IntroSeksjon.tsx b/aksel.nav.no/website/components/sanity-modules/IntroSeksjon.tsx index 42080ada21..fa39e880e2 100644 --- a/aksel.nav.no/website/components/sanity-modules/IntroSeksjon.tsx +++ b/aksel.nav.no/website/components/sanity-modules/IntroSeksjon.tsx @@ -1,9 +1,7 @@ -import { LevelTwoHeading } from "@/components"; import { withErrorBoundary } from "@/error-boundary"; import { SanityBlockContent } from "@/sanity-block"; import { AkselGrunnleggendeDocT, AkselKomponentDocT } from "@/types"; import { Label } from "@navikt/ds-react"; -import React from "react"; const Intro = ({ node, @@ -18,9 +16,9 @@ const Intro = ({ return (
-