Skip to content

Commit

Permalink
Fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Nov 6, 2017
1 parent 1a1785b commit 65f2e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const render = Trigger.prototype.render;
Trigger.prototype.render = function () { // eslint-disable-line
const tree = render.call(this);

if (this.state.popupVisible) {
if (this.state.popupVisible && this._component) {
return tree;
}

Expand Down

0 comments on commit 65f2e01

Please sign in to comment.