mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
fix(phone): remove Nui deps from useEffect
This commit is contained in:
1 parent
6a46711a51
commit
8861f4e503
2 files changed
+2
-2
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