Skip to content

Commit

Permalink
don't break RHL
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense authored Feb 1, 2018
1 parent d955640 commit 4d218f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-widgets/src/Popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import SlideDownTransition from './SlideDownTransition';
import { elementType }from './util/PropTypes';

class StaticContainer extends React.Component {
shouldComponentUpdate = ({ shouldUpdate }) => !!shouldUpdate
render = () => this.props.children;
shouldComponentUpdate({ shouldUpdate }) { return !!shouldUpdate; }
render() { return this.props.children; }
}

class Popup extends React.Component {
Expand Down

0 comments on commit 4d218f7

Please sign in to comment.