Files
illusory-mapp/apps/main/src/routes/(main)/+page.svelte
2026-02-28 14:50:04 +02:00

19 lines
506 B
Svelte

<script lang="ts">
import { goto } from "$app/navigation";
import { mainNavTree } from "$lib/core/constants";
import { breadcrumbs } from "$lib/global.stores";
import { makeClient } from "$lib/make-client.js";
import { onMount } from "svelte";
import type { PageData } from "./$types";
let { data }: { data: PageData } = $props();
const client = makeClient(fetch);
breadcrumbs.set([mainNavTree[0]]);
onMount(() => {
goto("/dashboard");
});
</script>