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:
J Francisco Rader authored and GitHub committed 2021-04-30 22:52:35 +02:00
1 parent 34b177e827
commit faf4edfbc6
4 files changed
+7 -14

No files matched your search

+1 -1
View File
@@ -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) {