mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
fix some outgoing packets
This commit is contained in:
parent
08d071b204
commit
010d02caca
@ -197,7 +197,7 @@ export const AchievementsView: FC<{}> = props =>
|
|||||||
|
|
||||||
useEffect(() =>
|
useEffect(() =>
|
||||||
{
|
{
|
||||||
if(!isVisible || !isInitalized) return;
|
if(!isVisible || isInitalized) return;
|
||||||
|
|
||||||
SendMessageComposer(new RequestAchievementsMessageComposer());
|
SendMessageComposer(new RequestAchievementsMessageComposer());
|
||||||
}, [ isVisible, isInitalized ]);
|
}, [ isVisible, isInitalized ]);
|
||||||
|
@ -220,10 +220,13 @@ export const NavigatorView: FC<{}> = props =>
|
|||||||
flag: false
|
flag: false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
SendMessageComposer(new NavigatorInitComposer());
|
|
||||||
}, [ isVisible, needsNavigatorUpdate ]);
|
}, [ isVisible, needsNavigatorUpdate ]);
|
||||||
|
|
||||||
|
useEffect(() =>
|
||||||
|
{
|
||||||
|
SendMessageComposer(new NavigatorInitComposer());
|
||||||
|
}, []);
|
||||||
|
|
||||||
useEffect(() =>
|
useEffect(() =>
|
||||||
{
|
{
|
||||||
if(!topLevelContexts || !topLevelContexts.length) return;
|
if(!topLevelContexts || !topLevelContexts.length) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user