<script lang="ts"> import DialogSetComponent from "./DialogSetComponent.svelte"; import { fetchDialogSet } from "./utils"; const dialogSetPromise = fetchDialogSet(); </script> <main> {#await dialogSetPromise then dialogSet} <DialogSetComponent {...dialogSet} /> {:catch error} <h3>Oh no :(</h3> <p> We could not load that dialogSet that you specified in the url. Sorry. </p> {/await} </main>