Pass error to svelte using a struct

...a very cursed struct
This commit is contained in:
2024-08-09 18:15:08 +02:00
parent 2fe3bdbb8a
commit b7760c0942
7 changed files with 108 additions and 24 deletions

View File

@@ -1,9 +1,6 @@
<script lang="ts">
import Header from "$lib/components/Header.svelte";
import Router from "$lib/router/Router.svelte";
import { GetFood } from "../wailsjs/go/main/App.js";
GetFood().then((result) => console.log(result));
</script>
<template>