Skip to content

Commit

Permalink
midlertidig inkluder preview-løsning
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrele committed Feb 1, 2024
1 parent 50ca608 commit 6fc14a0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { AppContext } from "@/AppContext";
import { APPLICATION_WEB_COMPONENT_NAME } from "@/constants";
import { CustomEmotionCacheProvider } from "./CustomEmotionCacheProvider";
import { ModiaArbeidsmarkedstiltak } from "./ModiaArbeidsmarkedstiltak";
import { PreviewArbeidsmarkedstiltak } from "@/apps/preview/PreviewArbeidsmarkedstiltak";

export class ModiaArbeidsmarkedstiltakWrapper extends HTMLElement {
static FNR_PROP = "data-fnr";
Expand Down Expand Up @@ -85,6 +86,7 @@ export class ModiaArbeidsmarkedstiltakWrapper extends HTMLElement {
<Router>
<Routes>
<Route path="arbeidsmarkedstiltak/*" element={<ModiaArbeidsmarkedstiltak />} />
<Route path="preview/*" element={<PreviewArbeidsmarkedstiltak />} />
<Route path="*" element={<Navigate replace to="/arbeidsmarkedstiltak" />} />
</Routes>
</Router>
Expand Down

0 comments on commit 6fc14a0

Please sign in to comment.