From 60695b583a3d60428add393ef9e368574767c594 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 29 Mar 2022 12:31:51 +0300 Subject: [PATCH] debug --- src/components/status/status.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/status/status.js b/src/components/status/status.js index ee0da4dc7..5ccb4a03d 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -69,6 +69,9 @@ 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] } return res