refactor: setup

This commit is contained in:
Anthony Fu 2022-12-28 04:50:29 +01:00
parent 970b6538e2
commit 3079867e2a
7 changed files with 38 additions and 42 deletions

View file

@ -1,10 +1,7 @@
<script setup lang="ts">
setupPageHeader()
setupEmojis()
provideGlobalCommands()
await setupI18n()
// We want to trigger rerendering the page when account changes
const key = computed(() => `${currentUser.value?.server ?? currentServer.value}:${currentUser.value?.account.id || ''}`)
</script>