diff --git a/packages/excalidraw/components/App.tsx b/packages/excalidraw/components/App.tsx index 29c84cd1f0..87d1be2779 100644 --- a/packages/excalidraw/components/App.tsx +++ b/packages/excalidraw/components/App.tsx @@ -594,10 +594,9 @@ class App extends React.Component { private initializedEmbeds = new Set(); private handleToastClose = () => { - this.setToast(null); + this.setToast(null); }; - private elementsPendingErasure: ElementsPendingErasure = new Set(); public flowChartCreator: FlowChartCreator = new FlowChartCreator(); @@ -1712,14 +1711,14 @@ class App extends React.Component { /> )} - + {this.state.toast !== null && ( - + )} {this.state.contextMenu && (