update format func

This commit is contained in:
ari
2025-11-18 11:50:01 +07:00
parent 806cfad6a8
commit d1fd8bb194
+10 -3
View File
@@ -35,9 +35,16 @@ const onSubmit = handleSubmit(async (values) => {
}
})
function onSSO() {
emit('sso')
}
const onSSO = (async () => {
console.log("Emitting SSO...")
try {
await emit('sso')
} catch (error) {
console.error('Call SSO failed:', error)
}
});
</script>
<template>