idk what im doing
This commit is contained in:
parent
a9dae84539
commit
fcb4085ca1
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue