mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	fix(react/dialogs): unnecessary listeners on modal render
This commit is contained in:
		@@ -71,7 +71,7 @@ export default function Modal({ children, className, size, title, header, footer
 | 
				
			|||||||
                    modalElement.removeEventListener("hidden.bs.modal", onHidden);
 | 
					                    modalElement.removeEventListener("hidden.bs.modal", onHidden);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
        });
 | 
					        }, [ ]);
 | 
				
			||||||
    }    
 | 
					    }    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const dialogStyle: CSSProperties = {};
 | 
					    const dialogStyle: CSSProperties = {};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user