Commit 56345874 authored by Paul Kaplan's avatar Paul Kaplan

Mark deprecated methods with UNSAFE_ prefix

parent 0a8ed951
......@@ -21,7 +21,7 @@ class InfoButton extends React.Component {
visible: false
};
}
componentWillMount () {
UNSAFE_componentWillMount () {
window.addEventListener('mousedown', this.handleClick, false);
}
componentWillUnmount () {
......
......@@ -17,7 +17,7 @@ class AddToStudioModal extends React.Component {
};
}
componentWillUpdate () {
UNSAFE_componentWillUpdate () {
this.closeIfFinishedUpdating();
}
......
......@@ -11,7 +11,7 @@ const render = require('../../lib/render.jsx');
require('./teacherwaitingroom.scss');
class TeacherWaitingRoom extends React.Component {
componentWillReceiveProps (nextProps) {
UNSAFE_componentWillReceiveProps (nextProps) {
if (nextProps.approved) {
window.location.href = '/educators/classes/';
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment