Skip to content

Commit

Permalink
ikke bruk tekster fra sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
kmriise committed Feb 6, 2024
1 parent f38ec0c commit af95121
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/routes/saksbehandling.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Link, Outlet, useLoaderData } from "@remix-run/react";
import { HeaderMeny } from "~/components/header-meny/HeaderMeny";
import { getEnv } from "~/utils/env.utils";
import { useSanity } from "~/hooks/useSanity";
import styles from "~/index.module.css";
import { getSaksbehandler, getSession } from "~/models/auth.server";
import { hentOppgaver } from "~/models/oppgave.server";
Expand Down Expand Up @@ -38,14 +37,13 @@ export async function loader({ request }: LoaderFunctionArgs) {

export default function Saksbehandling() {
const { saksbehandler } = useLoaderData<typeof loader>();
const { hentAppTekstMedId } = useSanity();

return (
<>
<InternalHeader className={styles.header}>
<Link to={getEnv("BASE_PATH")} className={styles.headerLogo}>
<InternalHeader.Title as="h1" className={styles.pageHeader}>
{hentAppTekstMedId("side-header")}
NAV Dagpenger
</InternalHeader.Title>
</Link>

Expand Down

0 comments on commit af95121

Please sign in to comment.