Carlos M. Trinidad 8 лет назад
Родитель
Сommit
154afeac0f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/counter-hot/store/actions.js

+ 1 - 1
examples/counter-hot/store/actions.js

@@ -9,6 +9,6 @@ export const incrementIfOdd = ({ commit, state }) => {
 
 export const incrementAsync = ({ commit }) => {
   setTimeout(() => {
-    commit('decrement')
+    commit('increment')
   }, 1000)
 }