shit
This commit is contained in:
parent
60695b583a
commit
3cf92ee51e
1 changed files with 0 additions and 1 deletions
|
@ -69,7 +69,6 @@ const controlledOrUncontrolledGetters = list => list.reduce((res, name) => {
|
|||
const controlledName = `controlled${camelized}`
|
||||
const uncontrolledName = `uncontrolled${camelized}`
|
||||
res[name] = function () {
|
||||
debugger
|
||||
console.log(this)
|
||||
console.log(Object.getOwnPropertyDescriptor(this, toggle))
|
||||
return (Object.getOwnPropertyDescriptor(this, toggle) && this[toggle]) ? this[controlledName] : this[uncontrolledName]
|
||||
|
|
Loading…
Add table
Reference in a new issue