idk what im doing

This commit is contained in:
cirroskais 2024-03-18 23:03:32 -04:00
parent a9dae84539
commit fcb4085ca1
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { authorize } from "./lib/discord.js";
import { fetchConfiguration } from "./lib/api";
import { fetchConfiguration, connect } from "./lib/api";
import { user } from "./lib/stores.js";
import UserCardShort from "./lib/components/UserCardShort.svelte";
@ -15,7 +15,7 @@
});
}
fetchConfiguration().then((config) => authorize(config));
fetchConfiguration().then((config) => authorize(config).then(() => connect()));
</script>
{#if $user}