mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-21 05:04:29 +01:00
Update the state properly
This commit is contained in:
@@ -388,6 +388,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
/>
|
||||
{this.state.showStats && (
|
||||
<Stats
|
||||
setAppState={this.setAppState}
|
||||
appState={this.state}
|
||||
elements={this.scene.getElements()}
|
||||
onClose={this.toggleStats}
|
||||
|
||||
Reference in New Issue
Block a user