genUid messed up

This commit is contained in:
Yanick Champoux 2023-04-21 11:55:36 -04:00
parent 04fbac2131
commit 9aeccbb63a

View File

@ -5,10 +5,10 @@
<script> <script>
import { setContext } from "svelte"; import { setContext } from "svelte";
import { createApi } from "$lib/store/api.js"; import { createApi } from "$lib/store/api.ts";
import uids from "$lib/store/uids.js"; import uids from "$lib/store/uids.js";
import Layout from "$lib/components/MainLayout.svelte"; import Layout from "$lib/components/MainLayout.svelte";
setContext("api", createApi()); setContext("api", createApi());
setContext("genUid", uids()); setContext("genUid", uids().genUid);
</script> </script>