fix: reset unmounted state for the component (#4682)

* Reset unmounted state for the component

* update changelog

Co-authored-by: ad1992 <aakansha1216@gmail.com>
This commit is contained in:
rulikrulit 2022-02-01 06:02:22 -05:00 committed by GitHub
parent 631a228ca1
commit 719ae7b72f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -809,6 +809,7 @@ class App extends React.Component<AppProps, AppState> {
};
public async componentDidMount() {
this.unmounted = false;
this.excalidrawContainerValue.container =
this.excalidrawContainerRef.current;