feat: enhance LGPD compliance features by adding configurable data protection officer details, consent term settings, and improved error handling across various components

This commit is contained in:
2025-12-02 05:54:37 -03:00
parent fec5f5c33d
commit 2825bd0e6e
9 changed files with 270 additions and 62 deletions

View File

@@ -115,8 +115,9 @@
tipoSelecionado = null;
dadosSolicitados = '';
observacoes = '';
} catch (error: any) {
toast.error(error.message || 'Erro ao criar solicitação');
} catch (error: unknown) {
const message = error instanceof Error ? error.message : 'Erro ao criar solicitação';
toast.error(message);
} finally {
carregando = false;
}