Skip to content

Commit

Permalink
debugger med
Browse files Browse the repository at this point in the history
  • Loading branch information
d142796 committed Jan 16, 2025
1 parent 6538fb9 commit 564ac0e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Router/Router.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import * as React from 'react';
import { createBrowserRouter } from 'react-router-dom';
import { createBrowserRouter, Outlet } from 'react-router-dom';
import { VarselOmNedetid } from '@/InnloggingBoundary/VarselOmNedetid';
import IkkeFunnet404 from '@/Router/IkkeFunnet404';

export const basename = '/tiltaksgjennomforing';

Expand All @@ -19,8 +21,12 @@ const router = createBrowserRouter(
[
{
path: Path.OVERSIKT,
element: <h1>OVERSIKT</h1>,
element: <Outlet />,
children: [
{
path: '/*',
element: <IkkeFunnet404 />,
},
{
path: Path.INFORMASJONSSIDE,
element: <h1>INFO SIDE...</h1>,
Expand Down

0 comments on commit 564ac0e

Please sign in to comment.