From 9e3b4435cd2a6d5ed2cce0d3068f9511187ca352 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 7 Jan 2026 16:43:11 +0200 Subject: [PATCH] fix(client): request to recent changes for undefined note --- apps/client/src/widgets/dialogs/recent_changes.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/widgets/dialogs/recent_changes.tsx b/apps/client/src/widgets/dialogs/recent_changes.tsx index 60de8b1b0..d0c26d2d4 100644 --- a/apps/client/src/widgets/dialogs/recent_changes.tsx +++ b/apps/client/src/widgets/dialogs/recent_changes.tsx @@ -27,6 +27,7 @@ export default function RecentChangesDialog() { }); useEffect(() => { + if (!ancestorNoteId) return; server.get(`recent-changes/${ancestorNoteId}`) .then(async (recentChanges) => { // preload all notes into cache