diff --git a/extensions/reset/src/index.ts b/extensions/reset/src/index.ts index af78a470..f5fcfd9a 100644 --- a/extensions/reset/src/index.ts +++ b/extensions/reset/src/index.ts @@ -28,7 +28,7 @@ export default function resetExtension() { const source = branchCallback(snapshot); const target = branchCallback(state); - overwrite(target, source, INTERNAL.pattern); + overwrite(target, clone(source), INTERNAL.pattern); }); }