We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc111e5 + 63fa548 commit 375989fCopy full SHA for 375989f
src/decorators/isCapture.js
@@ -4,9 +4,7 @@
4
5
export default function (target) {
6
target.prototype.isCapture = function (currentTarget) {
7
- console.log('currentTarget', currentTarget)
8
const dataIsCapture = currentTarget.getAttribute('data-iscapture')
9
- console.log(currentTarget.getAttribute('data-iscapture'), dataIsCapture)
10
return dataIsCapture && dataIsCapture === 'true' || this.props.isCapture || false
11
}
12
0 commit comments