fix(lint): escape JSX entities and narrow useEffect dep

Escape French apostrophes/quotes in JSX text per react/no-unescaped-entities
and replace the report?.observations.length dependency with a derived
observationsCount value so react-hooks/exhaustive-deps is satisfied without
re-firing on every report change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bastien ChanotandClaude Opus 4.7 committed 2026-05-18 22:00:15 +02:00
1 parent 3c32f66eb6
commit a33693580f
6 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ export default function AnimalForm({ animal, owner, onChangeAnimal, onChangeOwne
</Select>
</div>
<div>
<Label htmlFor="an-name">Nom de l'animal *</Label>
<Label htmlFor="an-name">Nom de l&apos;animal *</Label>
<Input id="an-name" required value={animal.name} onChange={(e) => setA({ name: e.target.value })} />
</div>
<div>