Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 'dev' of https://github.com/Sediug/react-portal:
  Using this.props.closePortal is working properly now.
  • Loading branch information
tajo committed May 12, 2016
2 parents 698d7fe + ff474f8 commit 18e5c8a
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 @@ -117,7 +117,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 18e5c8a

Please sign in to comment.