From f694b1d78f6834dc3770ed2106ceea25831a8157 Mon Sep 17 00:00:00 2001 From: Oscar Vladau-Husevold Date: Mon, 9 Dec 2024 15:25:27 +0100 Subject: [PATCH] Feature/fjern tagg (#153) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fjern påbegynt-tagg * Fjern tag helt --- src/app/(minCV)/_components/MinCVPage.jsx | 2 +- src/app/(minCV)/_components/hjemmelside/Hjemmelside.jsx | 2 +- src/app/_common/components/Feilside.jsx | 2 +- src/app/_common/components/HeaderPanel.jsx | 9 ++------- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/app/(minCV)/_components/MinCVPage.jsx b/src/app/(minCV)/_components/MinCVPage.jsx index cb85737..5a7b785 100644 --- a/src/app/(minCV)/_components/MinCVPage.jsx +++ b/src/app/(minCV)/_components/MinCVPage.jsx @@ -103,7 +103,7 @@ export default function MinCVPage() { ) : ( <> - + )} diff --git a/src/app/(minCV)/_components/hjemmelside/Hjemmelside.jsx b/src/app/(minCV)/_components/hjemmelside/Hjemmelside.jsx index 270300f..8d9a58e 100644 --- a/src/app/(minCV)/_components/hjemmelside/Hjemmelside.jsx +++ b/src/app/(minCV)/_components/hjemmelside/Hjemmelside.jsx @@ -20,7 +20,7 @@ export function Hjemmelside() { return (
- + diff --git a/src/app/_common/components/Feilside.jsx b/src/app/_common/components/Feilside.jsx index d9fe58a..e158022 100644 --- a/src/app/_common/components/Feilside.jsx +++ b/src/app/_common/components/Feilside.jsx @@ -7,7 +7,7 @@ import { arbeidsplassenBaseUrl, navBaseUrl } from "@/app/_common/utils/urlUtils" export function Feilside({ årsak }) { return ( <> - + diff --git a/src/app/_common/components/HeaderPanel.jsx b/src/app/_common/components/HeaderPanel.jsx index 9f0ed90..6eabdb3 100644 --- a/src/app/_common/components/HeaderPanel.jsx +++ b/src/app/_common/components/HeaderPanel.jsx @@ -1,9 +1,9 @@ -import { BodyShort, Box, Detail, Heading, Hide, HStack, Show, Skeleton, Tag, VStack } from "@navikt/ds-react"; +import { BodyShort, Box, Detail, Heading, Hide, HStack, Show, Skeleton, VStack } from "@navikt/ds-react"; import { formatterFullDatoMedFallback } from "@/app/_common/utils/stringUtils"; import { usePerson } from "@/app/_common/hooks/swr/usePerson"; import { useCv } from "@/app/_common/hooks/swr/useCv"; -function HeaderPanel({ title = "Min CV", visTag = true }) { +function HeaderPanel({ title = "Min CV" }) { const { personalia } = usePerson(); const { cv } = useCv(); @@ -37,11 +37,6 @@ function HeaderPanel({ title = "Min CV", visTag = true }) { {title} - {visTag && ( - - {personalia ? "Påbegynt" : "Laster..."} - - )}