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
@@ -31,7 +31,7 @@ export default function DetailModal({
|
||||
/>
|
||||
</div>
|
||||
<p className="mt-4 text-sm text-[var(--color-ink-muted)]">
|
||||
Cliquez sur les zones pour les ajouter à l'observation en cours.
|
||||
Cliquez sur les zones pour les ajouter à l'observation en cours.
|
||||
</p>
|
||||
</Dialog>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user