We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 507cc85 commit 6672b26Copy full SHA for 6672b26
src/reconciler/utils.js
@@ -84,9 +84,8 @@ export function merge(...sources) {
84
}
85
acc = [...acc, ...source];
86
} else if (source instanceof Object) {
87
- for (const entry of Object.entries(source)) {
88
- const key = entry[0];
89
- let value = entry[1];
+ for (const key of Object.keys(source)) {
+ let value = source[key];
90
if (value instanceof Object && key in acc) {
91
value = merge(acc[key], value);
92
0 commit comments