瀏覽代碼

docs: fix typo in mutations.md (#2066)

Idorenyin Udoh 3 年之前
父節點
當前提交
f397f0d014
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/guide/mutations.md

+ 1 - 1
docs/guide/mutations.md

@@ -137,7 +137,7 @@ mutations: {
 }
 }
 ```
 ```
 
 
-Now imagine we are debugging the app and looking at the devtool's mutation logs. For every mutation logged, the devtool will need to capture a "before" and "after" snapshots of the state. However, the asynchronous callback inside the example mutation above makes that impossible: the callback is not called yet when the mutation is committed, and there's no way for the devtool to know when the callback will actually be called - any state mutation performed in the callback is essentially un-trackable!
+Now imagine we are debugging the app and looking at the devtool's mutation logs. For every mutation logged, the devtool will need to capture a "before" and "after" snapshot of the state. However, the asynchronous callback inside the example mutation above makes that impossible: the callback is not called yet when the mutation is committed, and there's no way for the devtool to know when the callback will actually be called - any state mutation performed in the callback is essentially un-trackable!
 
 
 ## Committing Mutations in Components
 ## Committing Mutations in Components