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