Newer
Older
<script lang="ts">
import DialogSetComponent from "./DialogSetComponent.svelte";
import { fetchDialogSet } from "./utils";
import Debugger from "./Debugger.svelte";
import type { Dialog } from "./types";
const dialogSetPromise = fetchDialogSet();
{#await dialogSetPromise then dialogSet}
<DialogSetComponent bind:currentDialog={currentDialog} {...dialogSet} />
<br>
<Debugger dialogSet={dialogSet} bind:currentDialog={currentDialog}/>
{:catch _error}
We could not load that dialogSet that you specified in the url. Sorry. Please go complain to your friendly admin(s).