mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Tweak / Effect dependencies and Fivem-Nui-lib (#216)
* Fix Nui.send effect dependencies and upgrade lib to fixed version * Remove log
This commit is contained in:
1 parent
34b177e827
commit
faf4edfbc6
4 files changed
+7
-14
No files matched your search
@@ -23,7 +23,7 @@ export const MatchApp = () => {
|
||||
|
||||
useEffect(() => {
|
||||
Nui.send(MatchEvents.INITIALIZE);
|
||||
}, []);
|
||||
}, [Nui]);
|
||||
|
||||
const handlePageChange = (e, page) => setActivePage(page);
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ export function TweetListContainer() {
|
||||
|
||||
useEffect(() => {
|
||||
Nui.send(TwitterEvents.FETCH_TWEETS, {});
|
||||
}, []);
|
||||
}, [Nui]);
|
||||
|
||||
useEffect(() => {
|
||||
if (tweets?.length) {
|
||||
|
||||
Reference in new issue
Block a user