From 78d920d302d130defda642a4b30c0467cfe6d141 Mon Sep 17 00:00:00 2001 From: Katrine Wist Date: Tue, 14 Jan 2025 14:53:25 +0100 Subject: [PATCH] Remove PopoverTitle from disclaimer --- src/components/Disclaimer.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/Disclaimer.tsx b/src/components/Disclaimer.tsx index f81eecefd..09c0d5c41 100644 --- a/src/components/Disclaimer.tsx +++ b/src/components/Disclaimer.tsx @@ -10,7 +10,7 @@ import { useMemo } from "react"; import { useTranslation } from "react-i18next"; import { transform } from "@ndla/article-converter"; import { AccessibilityFill } from "@ndla/icons"; -import { Button, PopoverContent, PopoverRoot, PopoverTitle, PopoverTrigger } from "@ndla/primitives"; +import { Button, PopoverContent, PopoverRoot, PopoverTrigger } from "@ndla/primitives"; import { GQLTransformedDisclaimerContent } from "../graphqlTypes"; interface Props { @@ -32,10 +32,7 @@ const Disclaimer = ({ disclaimer }: Props) => { - - {t("uuDisclaimer.title")} -
{transformedDisclaimer}
-
+ {transformedDisclaimer} ); };