This commit is contained in:
Timothy Jaeryang Baek
2024-11-12 15:46:44 -08:00
parent 3a541460df
commit ee05455155
8 changed files with 145 additions and 74 deletions
@@ -1,5 +1,19 @@
<script>
import { onMount } from 'svelte';
import { functions } from '$lib/stores';
import { getFunctions } from '$lib/apis/functions';
import Functions from '$lib/components/workspace/Functions.svelte';
onMount(async () => {
await Promise.all([
(async () => {
functions.set(await getFunctions(localStorage.token));
})()
]);
});
</script>
<Functions />
{#if $functions !== null}
<Functions />
{/if}