Skip to content

Commit

Permalink
Fjern log og fiks riktig felt for dato
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaegrov committed Feb 27, 2024
1 parent 1244a23 commit 84f8077
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions app/routes/saksbehandling.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { InternalHeader } from "@navikt/ds-react";
import type { ISanityTexts } from "~/sanity/sanity.types";
import { sanityClient } from "~/utils/sanity.utils";
import { allTextsQuery } from "~/sanity/sanity.query";
import { soknadMedAlderskravMock } from "mocks/data/mock-soknadsbehandling-oppgaver";

// Hindrer loader til å kjøre på nytt etter action funksjon
export const shouldRevalidate = () => false;
Expand All @@ -37,8 +36,6 @@ export async function loader({ request }: LoaderFunctionArgs) {
export default function Saksbehandling() {
const { saksbehandler } = useLoaderData<typeof loader>();

console.log(soknadMedAlderskravMock);

return (
<>
<InternalHeader className={styles.header}>
Expand Down
2 changes: 1 addition & 1 deletion mocks/data/mock-soknadsbehandling-oppgaver.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { IOppgaveSteg, IOppgave } from "~/models/oppgave.server";
import type { IOppgave, IOppgaveSteg } from "~/models/oppgave.server";

export const generiskSoknadMock: IOppgave = {
oppgaveId: "msw-generisk-soknad",
Expand Down

0 comments on commit 84f8077

Please sign in to comment.