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
@@ -29,7 +29,7 @@ export default function ObservationList({
|
||||
</div>
|
||||
{observations.length === 0 ? (
|
||||
<p className="text-sm text-[var(--color-ink-muted)]">
|
||||
Aucune observation. Cliquez sur "+ Nouvelle observation" puis sur les zones du schéma.
|
||||
Aucune observation. Cliquez sur "+ Nouvelle observation" puis sur les zones du schéma.
|
||||
</p>
|
||||
) : (
|
||||
<ul className="space-y-2">
|
||||
|
||||
Reference in new issue
Block a user