If I declared in a useEffect hook
Linking.addEventListener('url', ({ url }) => {
handleUrl({ url, userDetails });
});
In the cleanup function of the hook is it enough to write Linking.removeEventListener('url', handleUrl); or do I have to pass the same params as in the declared Linking.addEventListener?