diff --git a/components/auth/login-form.tsx b/components/auth/login-form.tsx index 4a2ff0f..9516012 100644 --- a/components/auth/login-form.tsx +++ b/components/auth/login-form.tsx @@ -41,23 +41,6 @@ export function LoginForm({ className, ...props }: DivProps) { if (typeof PublicKeyCredential === "undefined") return; setPasskeySupported(true); - - if ( - typeof PublicKeyCredential.isConditionalMediationAvailable === "function" - ) { - PublicKeyCredential.isConditionalMediationAvailable() - .then((available) => { - if (available) { - // Conditional UI é opcional: habilita autofill quando disponível. - authClient.signIn.passkey({ - mediation: "conditional", - }); - } - }) - .catch(() => { - // Ignora falhas de detecção e mantém login manual por passkey. - }); - } }, []); async function handleSubmit(e: FormEvent) { @@ -237,7 +220,7 @@ export function LoginForm({ className, ...props }: DivProps) { ) : ( )} - Entrar com Passkey + Entrar com passkey )} diff --git a/components/dashboard/dashboard-grid-editable.tsx b/components/dashboard/dashboard-grid-editable.tsx index d2cb153..f3158ba 100644 --- a/components/dashboard/dashboard-grid-editable.tsx +++ b/components/dashboard/dashboard-grid-editable.tsx @@ -201,9 +201,9 @@ export function DashboardGridEditable({ {/* Toolbar */}
{!isEditing ? ( -
+
- Ação rápida + Ações rápidas