Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Bind state
Browse files Browse the repository at this point in the history
  • Loading branch information
fastner committed May 12, 2016
1 parent 6914b34 commit 4bb4fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VuexValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function install(Vue, { validators: _validators } = { validators: [] })
const vals = options.vuex.validators
Object.keys(vals).forEach((prop) =>
{
const curriedFnt = curry(vals[prop], 1)(propertyValidator)
const curriedFnt = curry(vals[prop], 1)(propertyValidator(state))
getters[prop] = curriedFnt
})
}
Expand Down

0 comments on commit 4bb4fb0

Please sign in to comment.