Skip to content

Commit

Permalink
Using this.props.closePortal is working properly now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sediug committed May 12, 2016
1 parent d21982c commit ff474f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class Portal extends React.Component {
}
this.portal = null;
this.node = null;
if (!isUnmounted) {
if (isUnmounted !== true) {
this.setState({active: false});
}
};
Expand Down

0 comments on commit ff474f8

Please sign in to comment.