Skip to content

Commit 7e38471

Browse files
committed
docs: fix the Incorrect example
1 parent dd033f1 commit 7e38471

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/shared/watchClone/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ import { watchClone } from '@vueuse/core'
1515

1616
const obj = ref({ a: 1, b: {
1717
c: 3
18-
} }, {
19-
deep: true
20-
})
18+
} })
2119

2220
watch(obj, (newVal, oldVal) => {
2321
console.log(newVal) // { a: 1, b: { c: 100 } }

0 commit comments

Comments
 (0)