diff --git a/src/renderer/src/plugins/shareStore.js b/src/renderer/src/plugins/shareStore.js index d846f1f..0db8119 100644 --- a/src/renderer/src/plugins/shareStore.js +++ b/src/renderer/src/plugins/shareStore.js @@ -172,6 +172,8 @@ const getObjValue = (obj, key) => { const findDifferences = (obj1, obj2) => { const differences = {}; function compareObjects(o1, o2, path = '') { + if (o1 == null) return + if (o2 == null) return for (const key in o1) { if (o1.hasOwnProperty(key)) { const newPath = path ? `${path}.${key}` : key;