fix(phone): remove Nui deps from useEffect

This commit is contained in:
Christopher committed 2021-04-18 21:37:47 +02:00
1 parent 6a46711a51
commit 8861f4e503
2 files changed
+2 -2

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) {