Skip to content

Commit

Permalink
fix(values): correctly pick transforms from props
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed Apr 1, 2019
1 parent 445f85f commit 0bfab1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/values.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const transformable = (Component) =>
}
render() {
const { props, state } = this
const { transformValue, transformOnChange } = this
const { transformValue, transformOnChange } = props
return $(
Component,
!(transformValue || transformOnChange)
Expand Down

0 comments on commit 0bfab1d

Please sign in to comment.