prettier fixes #16

This commit is contained in:
Michael Dausmann
2023-10-24 21:18:03 +11:00
parent dc9d64ebf5
commit a7f8c37f99
56 changed files with 1706 additions and 935 deletions

View File

@@ -1,20 +1,19 @@
<script setup lang="ts">
const supabase = useSupabaseAuthClient();
const accountStore = useAccountStore();
onMounted(async () => {
await accountStore.init()
await accountStore.init();
});
async function signout() {
await supabase.auth.signOut();
if(accountStore){
if (accountStore) {
accountStore.signout();
}
navigateTo('/', {replace: true});
navigateTo('/', { replace: true });
}
</script>
<template>
<a href="#" @click.prevent="signout()">Signout</a>
</template>
</template>