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:
1 parent
3c32f66eb6
commit
a33693580f
6 files changed
+9
-8
No files matched your search
@@ -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'animal *</Label>
|
||||
<Input id="an-name" required value={animal.name} onChange={(e) => setA({ name: e.target.value })} />
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in new issue
Block a user