fix merge editor always saving same note

This commit is contained in:
ammarahm-ed
2021-01-30 10:56:53 +05:00
parent d1f2a29dac
commit 85e2ff66aa

View File

@@ -173,8 +173,8 @@ const MergeEditor = () => {
} else if (keepContentFrom === 'secondary') {
await db.notes.add({
content: {
data: primaryData.data,
type: primaryData.type,
data: secondaryData.data,
type: secondaryData.type,
resolved: true,
},
id: note.id,