Improve change detection and enhance content extraction logic
This commit is contained in:
@@ -108,7 +108,10 @@ export default function LibraryManager({ apiBase, library, jobs, onRefresh }) {
|
||||
})
|
||||
}
|
||||
|
||||
useEffect(() => () => clearToasts(), [])
|
||||
useEffect(() => () => {
|
||||
toastTimeoutsRef.current.forEach(timeoutId => clearTimeout(timeoutId))
|
||||
toastTimeoutsRef.current.clear()
|
||||
}, [])
|
||||
|
||||
function closeForm() {
|
||||
setFormMode(null)
|
||||
|
||||
Reference in New Issue
Block a user