mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-17 12:34:48 +00:00
committed by
Nicolas Gallagher
parent
ea87af27b2
commit
c0e3409ace
+1
-1
@@ -55,7 +55,7 @@ export default function useEvent(
|
||||
});
|
||||
targetListeners.clear();
|
||||
};
|
||||
}, []);
|
||||
}, [targetListeners]);
|
||||
|
||||
return addListener;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user