From 03709bac6a462ccbf6b03c3a74249d56a412c39d Mon Sep 17 00:00:00 2001 From: Markus Johansen Date: Wed, 19 Jul 2023 17:21:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Fikset=20routing=20for=20=C3=A5?= =?UTF-8?q?=20unng=C3=A5=20merge-konflikt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sindre Kjelsrud --- frontend/src/index.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index fb55855..8b71297 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -4,8 +4,12 @@ import { Button, Heading, Search } from "@navikt/ds-react"; import Header from "./components/Header"; import { PlusIcon } from "@navikt/aksel-icons"; import Filtermeny from "./components/Filtermeny"; +import { useNavigate } from "react-router-dom"; export default function Home() { + + const navigate = useNavigate() + return (
@@ -14,7 +18,11 @@ export default function Home() {
-