@@ -749,6 +763,14 @@ function DarkField({ children, label }) {
)
}
+function normalizeSearch(value) {
+ return String(value || '')
+ .normalize('NFD')
+ .replace(/[\u0300-\u036f]/g, '')
+ .trim()
+ .toLowerCase()
+}
+
function CommIcon({ className = 'size-4', name }) {
const common = {
className,
diff --git a/src/pages/PatientsPage.jsx b/src/pages/PatientsPage.jsx
index bc8893f..254db76 100644
--- a/src/pages/PatientsPage.jsx
+++ b/src/pages/PatientsPage.jsx
@@ -376,7 +376,7 @@ export function PatientsPage({ navigate, role }) {
| {patient.state || missingValue('Estado')} |
{patient.lastVisit || 'Ainda não houve atendimento'} |
{patient.nextVisit || 'Nenhum atendimento agendado'} |
-
+ |
|