mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-04-28 20:55:46 +08:00
Avoid sending ga event on focusing column
This commit is contained in:
@@ -313,9 +313,11 @@ export const MainScreen = React.memo(() => {
|
||||
[currentOpenedModal],
|
||||
)
|
||||
|
||||
if (!currentOpenedModal) {
|
||||
analytics.trackScreenView('MAIN_SCREEN')
|
||||
}
|
||||
useEffect(() => {
|
||||
if (!currentOpenedModal) {
|
||||
analytics.trackScreenView('MAIN_SCREEN')
|
||||
}
|
||||
}, [currentOpenedModal])
|
||||
|
||||
return (
|
||||
<Screen statusBarBackgroundThemeColor="header" useSafeArea={false}>
|
||||
|
||||
Reference in New Issue
Block a user