mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-07 20:05:35 -04:00
fix: lint
This commit is contained in:
parent
21f492fb13
commit
118fd7bafa
@ -597,7 +597,6 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
this.setToast(null);
|
this.setToast(null);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
private elementsPendingErasure: ElementsPendingErasure = new Set();
|
private elementsPendingErasure: ElementsPendingErasure = new Set();
|
||||||
|
|
||||||
public flowChartCreator: FlowChartCreator = new FlowChartCreator();
|
public flowChartCreator: FlowChartCreator = new FlowChartCreator();
|
||||||
@ -1716,7 +1715,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
{this.state.toast !== null && (
|
{this.state.toast !== null && (
|
||||||
<Toast
|
<Toast
|
||||||
message={this.state.toast.message}
|
message={this.state.toast.message}
|
||||||
onClose={this.handleToastClose} // ✅ Stable reference
|
onClose={this.handleToastClose}
|
||||||
duration={this.state.toast.duration}
|
duration={this.state.toast.duration}
|
||||||
closable={this.state.toast.closable}
|
closable={this.state.toast.closable}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user