This commit is contained in:
Hachi-R 2024-11-11 16:39:58 -03:00
parent a7b8018ed9
commit 40ec773425

View File

@ -113,7 +113,7 @@ export function App() {
const unsubscribe = window.electron.onHardDelete(() => { const unsubscribe = window.electron.onHardDelete(() => {
updateLibrary(); updateLibrary();
}); });
return () => unsubscribe(); return () => unsubscribe();
}, [updateLibrary]); }, [updateLibrary]);