2023-03-05 17:10:29 +00:00
|
|
|
<script lang="ts">
|
2023-08-28 01:23:22 +00:00
|
|
|
import { setRouteToLastPagePromise, currentRoute } from "./lib/router";
|
2023-03-05 17:10:29 +00:00
|
|
|
</script>
|
|
|
|
|
2023-08-28 13:39:53 +00:00
|
|
|
<main class="min-h-screen max-w-7xl mx-auto">
|
2023-08-28 01:23:22 +00:00
|
|
|
{#await setRouteToLastPagePromise then}
|
|
|
|
<svelte:component
|
|
|
|
this={$currentRoute.component}
|
|
|
|
{...$currentRoute.params}
|
|
|
|
/>
|
|
|
|
{/await}
|
2023-03-05 17:10:29 +00:00
|
|
|
</main>
|