mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: crash on diff view open
This commit is contained in:
@@ -89,11 +89,6 @@ function DiffViewer(props) {
|
|||||||
toKeepDateEdited: content.dateEdited,
|
toKeepDateEdited: content.dateEdited,
|
||||||
});
|
});
|
||||||
|
|
||||||
content.conflicted = await db.content.insertPlaceholders(
|
|
||||||
content.conflicted,
|
|
||||||
"/placeholder.svg"
|
|
||||||
);
|
|
||||||
|
|
||||||
setConflictedNote(note);
|
setConflictedNote(note);
|
||||||
setLocalContent({ ...content, conflicted: false });
|
setLocalContent({ ...content, conflicted: false });
|
||||||
setRemoteContent(content.conflicted);
|
setRemoteContent(content.conflicted);
|
||||||
|
|||||||
Reference in New Issue
Block a user