Skip to content

Commit

Permalink
Rename unsafe lifecycle methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Nov 14, 2019
1 parent 542c57c commit 2423ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/matchbox/src/components/Tooltip/TooltipOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TooltipOverlay extends Component {
this.handleMeasurement();
}

componentWillReceiveProps() {
UNSAFE_componentWillReceiveProps() {
this.handleMeasurement();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class WindowEvent extends Component {
this.addEvent();
}

componentWillUpdate() {
UNSAFE_componentWillUpdate() {
this.removeEvent();
}

Expand Down

0 comments on commit 2423ac9

Please sign in to comment.