Skip to content

Commit

Permalink
fix top level async issue
Browse files Browse the repository at this point in the history
  • Loading branch information
OtherwiseJunk committed Apr 30, 2024
1 parent be7d4c2 commit 6084fc2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Yak/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ app.mount('#app');
const discord = useDiscordStore();
const cable = useGameStore();

await discord.setup();
await cable.setup();
( async () => {
await discord.setup();
await cable.setup();
})()

0 comments on commit 6084fc2

Please sign in to comment.