mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
fix: lint
This commit is contained in:
@ -597,7 +597,6 @@ class App extends React.Component<AppProps, AppState> {
|
||||
this.setToast(null);
|
||||
};
|
||||
|
||||
|
||||
private elementsPendingErasure: ElementsPendingErasure = new Set();
|
||||
|
||||
public flowChartCreator: FlowChartCreator = new FlowChartCreator();
|
||||
@ -1716,7 +1715,7 @@ class App extends React.Component<AppProps, AppState> {
|
||||
{this.state.toast !== null && (
|
||||
<Toast
|
||||
message={this.state.toast.message}
|
||||
onClose={this.handleToastClose} // ✅ Stable reference
|
||||
onClose={this.handleToastClose}
|
||||
duration={this.state.toast.duration}
|
||||
closable={this.state.toast.closable}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user