fix: remove legacy React.render() from the editor (#5893)

This commit is contained in:
David Luzar 2022-11-19 18:27:54 +01:00 committed by GitHub
parent 96a5d6548b
commit 8ed0fc2c87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 48 deletions

View file

@ -5917,6 +5917,7 @@ class App extends React.Component<AppProps, AppState> {
},
type: "canvas" | "element",
) => {
trackEvent("contextMenu", "openContextMenu", type);
if (this.state.showHyperlinkPopup) {
this.setState({ showHyperlinkPopup: false });
}