Skip to content

Commit

Permalink
Fix: trykk på nin-kart på forside gir kræsj
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornreppen committed Dec 13, 2023
1 parent 04de709 commit 23280c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forside/ForsideInformasjon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Utforsk from "../HamburgerMeny/Utforsk/Utforsk";
import { useNavigate } from "react-router";

const ForsideInformasjon = ({onToggleHovedMeny}) => {
const { navigate } = useNavigate();
const navigate = useNavigate();
return (
<div className="frontpage">
<div className="frontpage_body">
Expand Down

0 comments on commit 23280c2

Please sign in to comment.