models: fix state namespace

This commit is contained in:
Yoshua Wuyts
2016-05-23 14:40:52 +09:00
parent 0cc0caa8e1
commit dc840059a4
8 changed files with 40 additions and 24 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = {
},
effects: {
error: function (action, state, send) {
const timeout = state.app.errorTimeDone - Date.now()
const timeout = state.errorTimeDone - Date.now()
setTimeout(function () {
send('app:error:delete')
}, timeout)