diff --git a/src/lib/adapters/utils.ts b/src/lib/adapters/utils.ts index 12fa003..a92526a 100644 --- a/src/lib/adapters/utils.ts +++ b/src/lib/adapters/utils.ts @@ -37,9 +37,9 @@ export function deepMerge( return; } - let subTarget = target[key] + const subTarget = target[key] if (!isMergeableObject(subTarget)) { - target[key] = subTarget = {} + target[key] = deepMerge({}, source[key]) return }