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
+15 -1
View File
@@ -1,5 +1,19 @@
<script>
import { onMount } from 'svelte';
import { tools } from '$lib/stores';
import { getTools } from '$lib/apis/tools';
import Tools from '$lib/components/workspace/Tools.svelte';
onMount(async () => {
await Promise.all([
(async () => {
tools.set(await getTools(localStorage.token));
})()
]);
});
</script>
<Tools />
{#if $tools !== null}
<Tools />
{/if}