mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: remove legacy React.render() from the editor (#5893)
This commit is contained in:
parent
96a5d6548b
commit
8ed0fc2c87
3 changed files with 33 additions and 48 deletions
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue