Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixing "UNSAFE_componentWillReceiveProps"
  • Loading branch information
avudaiappan-cse authored May 1, 2020
commit 0647310abf118410aa7d9cd02d0eac7bd9166cbd
2 changes: 1 addition & 1 deletion src/RevealBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class RevealBase extends React.Component {
};
}

componentWillReceiveProps (props) {
UNSAFE_componentWillReceiveProps (props) {
if (props.when !== undefined)
this.isOn = !!props.when;
if (props.fraction !== this.props.fraction)
Expand Down