mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
fix container is undefined error
This commit is contained in:
parent
12653a16de
commit
8fbf167a6f
@ -101,6 +101,7 @@ class App extends React.Component {
|
||||
};
|
||||
|
||||
componentWillUnmount() {
|
||||
const { container } = this.refs;
|
||||
container.removeEventListener('drop', this.onDrop);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user