e0be095055
- Fix agendamentos?.filter(...).map(...) — optional chain didn't protect .map, crashing when agendamentos is null on first render - Add Array.isArray guard in AutocompleteField before setResults to prevent non-array from backend error responses breaking subsequent .map - Add array guard in getGruposFamiliares to return [] on backend error instead of propagating error object Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>