<> - Behandlingsaktiviteter - + Behandlingsaktiviteter
- Velg overordnet behandlingsaktivitet + Velg overordnet behandlingsaktivitet
{hasAccess() && ( )} {hasAccess() && ( - )}
@@ -118,22 +105,18 @@ export const PurposeListPage = () => { onClose={() => setIsExportModalOpen(false)} > - - - - - - + From b0349b01986c79ad8b5eb50a57e69d0c8673ebbb Mon Sep 17 00:00:00 2001 From: K153697 Date: Mon, 25 Nov 2024 13:24:15 +0100 Subject: [PATCH 4/5] Endret til Designsystem. --- apps/frontend/src/pages/ListSearchPage.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/frontend/src/pages/ListSearchPage.tsx b/apps/frontend/src/pages/ListSearchPage.tsx index 88dbcfdab..cb4e51e06 100644 --- a/apps/frontend/src/pages/ListSearchPage.tsx +++ b/apps/frontend/src/pages/ListSearchPage.tsx @@ -1,5 +1,4 @@ -import { Spinner } from 'baseui/spinner' -import { HeadingMedium } from 'baseui/typography' +import { Heading, Loader } from '@navikt/ds-react' import { useEffect, useState } from 'react' import AlphabeticList from '../components/common/AlphabeticList' import { ampli } from '../service/Amplitude' @@ -37,8 +36,8 @@ const CodelistPage = (props: ICodeListPageProps) => { return ( <> - {title && {title}} - {isLoading && } + {title && {title}} + {isLoading && } {!!codes.length && ( ({ id: code.code, label: code.shortName }))} From c44467b52ad52f4300ff73a2c65e511b560e5c38 Mon Sep 17 00:00:00 2001 From: K153697 Date: Tue, 17 Dec 2024 12:01:46 +0100 Subject: [PATCH 5/5] =?UTF-8?q?Fors=C3=B8k=20p=C3=A5=20=C3=A5=20bytte=20ut?= =?UTF-8?q?=20useLocation=20med=20windows.location.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/src/util/hooks/customHooks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/frontend/src/util/hooks/customHooks.ts b/apps/frontend/src/util/hooks/customHooks.ts index 7bbfda948..dbd144314 100644 --- a/apps/frontend/src/util/hooks/customHooks.ts +++ b/apps/frontend/src/util/hooks/customHooks.ts @@ -1,5 +1,4 @@ import { Dispatch, RefObject, SetStateAction, createRef, useEffect, useState } from 'react' -import { useLocation } from 'react-router-dom' export function useDebouncedState( initialValue: T, @@ -64,7 +63,7 @@ export function useRefs(ids: string[]) { } export function useQuery() { - const location = useLocation() + const location = window.location return new URLSearchParams(location.search) }