fix: suppress hydration warnings in JiraLogs, MarkdownEditor, and NotesList components

This commit is contained in:
Julien Froidefond
2025-10-16 05:17:41 +02:00
parent 7952459b42
commit a4188b09e5
4 changed files with 9 additions and 5 deletions

View File

@@ -202,7 +202,7 @@ export function NotesList({
<div className="flex items-center gap-2 text-xs text-[var(--muted-foreground)]">
<Calendar className="w-3 h-3" />
<span>
<span suppressHydrationWarning>
{formatDistanceToNow(new Date(note.updatedAt), {
addSuffix: true,
locale: fr,