mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-06-10 15:26:00 +00:00
chore(configurações): redesign visual da página de configurações
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,9 @@ export function PasskeysForm() {
|
||||
const { data, error: fetchError } =
|
||||
await authClient.passkey.listUserPasskeys();
|
||||
if (fetchError) {
|
||||
setError((fetchError.message as string) || "Erro ao carregar passkeys.");
|
||||
setError(
|
||||
(fetchError.message as string) || "Erro ao carregar passkeys.",
|
||||
);
|
||||
return;
|
||||
}
|
||||
setPasskeys(
|
||||
@@ -134,7 +136,9 @@ export function PasskeysForm() {
|
||||
name: editName.trim(),
|
||||
});
|
||||
if (renameError) {
|
||||
setError((renameError.message as string) || "Erro ao renomear passkey.");
|
||||
setError(
|
||||
(renameError.message as string) || "Erro ao renomear passkey.",
|
||||
);
|
||||
return;
|
||||
}
|
||||
setEditingId(null);
|
||||
|
||||
Reference in New Issue
Block a user