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.
1 parent f3739a3 commit 5654ea9Copy full SHA for 5654ea9
src/decorators/bodyMode.js
@@ -54,7 +54,7 @@ const getBody = () => document.getElementsByTagName('body')[0]
54
55
export default function (target) {
56
target.prototype.isBodyMode = function () {
57
- return this.props.bodyMode
+ return !!this.props.bodyMode
58
}
59
60
target.prototype.bindBodyListener = function (targetArray) {
0 commit comments