Skip to content

Commit

Permalink
fix(property): remove unused default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban committed Dec 7, 2018
1 parent 8664551 commit 312664e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/property.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function property(value, connect) {

return {
get: (host, val = value) => val,
set: (host, val = value, oldValue) => transform(val, oldValue),
set: (host, val, oldValue) => transform(val, oldValue),
connect: type !== 'object' && type !== 'undefined'
? (host, key, invalidate) => {
if (host[key] === value) {
Expand Down

0 comments on commit 312664e

Please # to comment.