Fix: Merge conflicts

This commit is contained in:
Kamigen
2024-03-31 09:53:36 -04:00
3 changed files with 28 additions and 28 deletions

View File

@@ -110,22 +110,14 @@ const router = useRouter()
let user = ref({});
let errorSnackBar = ref(false);
const goHome = () => {
router.push('/');
}
async function login() {
try {
await authStore.login(client, user.value.email, user.value.password)
await store.login(api, user.value.email, user.value.password)
router.push('/');
} catch (error) {
errorSnackBar.value = true;
}
}
</script>
<style scoped>