Skip to content

Commit

Permalink
docs: correct immer produce import in reactivity-in-depth.md (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceynri committed Mar 20, 2024
1 parent 311e551 commit 8cb6f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/extras/reactivity-in-depth.md
Expand Up @@ -355,7 +355,7 @@ Vue 的响应性系统是通过深度转换普通 JavaScript 对象为响应式
我们可以通过一个简单的组合式函数来集成 Immer:

```js
import produce from 'immer'
import { produce } from 'immer'
import { shallowRef } from 'vue'

export function useImmer(baseState) {
Expand Down

0 comments on commit 8cb6f24

Please sign in to comment.