mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Improve routes
This commit is contained in:
1 parent
c65108b360
commit
dbfca1461d
2 files changed
+6
-8
No files matched your search
@@ -11,8 +11,8 @@ export const useNuiEvent = (app, method, handler, options = {}) => {
|
||||
|
||||
useEffect(() => {
|
||||
const eventListener = (event) => {
|
||||
const { data } = event;
|
||||
if (savedHandler.current && savedHandler.current.call) {
|
||||
const { data } = event;
|
||||
savedHandler.current(data);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user