fix: add missin hook dependency

This commit is contained in:
Zamitto 2024-06-19 23:03:52 -03:00
parent 678f63fdef
commit c01c589f2a

View File

@ -140,7 +140,7 @@ export function App() {
return () => {
listeners.forEach((unsubscribe) => unsubscribe());
};
}, [fetchUserDetails, updateUserDetails, clearUserDetails]);
}, [fetchUserDetails, updateUserDetails, clearUserDetails, updateLibrary]);
const handleSearch = useCallback(
(query: string) => {