From d44b89ba6313da25385ad9178c8ee7760608f86e Mon Sep 17 00:00:00 2001 From: johannetronstad Date: Thu, 21 Nov 2024 10:29:46 +0100 Subject: [PATCH] Fiks varsellenke --- src/moduler/dialog/DialogLink.tsx | 5 +++-- src/moduler/varslinger/VeilederVarsel.tsx | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/moduler/dialog/DialogLink.tsx b/src/moduler/dialog/DialogLink.tsx index 4c116ae21..3f8a880fd 100644 --- a/src/moduler/dialog/DialogLink.tsx +++ b/src/moduler/dialog/DialogLink.tsx @@ -4,6 +4,7 @@ import { useNavigate } from 'react-router-dom'; import { useErVeileder } from '../../Provider'; import { useRoutes } from '../../routing/useRoutes'; import { byttTilDialogFlate, getDialogLenke } from './DialogFlateUtils'; +import { Link } from '@navikt/ds-react'; interface Props { className?: string; @@ -32,9 +33,9 @@ const LenkeTilDialog = (props: Props) => { } return ( - + {children} - + ); }; diff --git a/src/moduler/varslinger/VeilederVarsel.tsx b/src/moduler/varslinger/VeilederVarsel.tsx index 8c0e216b4..9721e4964 100644 --- a/src/moduler/varslinger/VeilederVarsel.tsx +++ b/src/moduler/varslinger/VeilederVarsel.tsx @@ -21,10 +21,10 @@ const VeilederVarsel = (props: Props) => { return (
- + - Nav har sendt varsel {dato}{' '} - Les meldingen + Nav har sendt varsel {dato}.{' '} + Les meldingen.