don't know why I'm even tracking mounted state. Never refd

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-05-19 00:20:51 +01:00
parent 0e7e4d8595
commit bf0fe63759

View file

@ -32,8 +32,6 @@ module.exports = React.createClass({
},
componentWillMount: function() {
this._unmounted = false;
dis.dispatch({
action: 'ui_opacity',
leftOpacity: 1.0,
@ -48,8 +46,6 @@ module.exports = React.createClass({
},
componentWillUnmount: function() {
this._unmounted = true;
dis.dispatch({
action: 'ui_opacity',
sideOpacity: 1.0,