From 118fd7bafa797ac87a6520f5113be3607e4b7598 Mon Sep 17 00:00:00 2001 From: Ryan Di Date: Thu, 3 Jul 2025 16:50:57 +1000 Subject: [PATCH] fix: lint --- packages/excalidraw/components/App.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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 && (