mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-04 12:54:23 +01:00 
			
		
		
		
	don't pass deleted elements to UI (#1029)
This commit is contained in:
		@@ -810,7 +810,9 @@ export class App extends React.Component<any, AppState> {
 | 
			
		||||
          appState={this.state}
 | 
			
		||||
          setAppState={this.setAppState}
 | 
			
		||||
          actionManager={this.actionManager}
 | 
			
		||||
          elements={globalSceneState.getAllElements()}
 | 
			
		||||
          elements={globalSceneState.getAllElements().filter(element => {
 | 
			
		||||
            return !element.isDeleted;
 | 
			
		||||
          })}
 | 
			
		||||
          setElements={this.setElements}
 | 
			
		||||
          language={getLanguage()}
 | 
			
		||||
          onRoomCreate={this.createRoom}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user