@@ -8,7 +8,6 @@ import { FeatureFlags, Theme } from 'uiSrc/constants'
8
8
import { setTitle } from 'uiSrc/utils'
9
9
import { ThemeContext } from 'uiSrc/contexts/themeContext'
10
10
import { sendEventTelemetry , sendPageViewTelemetry , TelemetryEvent , TelemetryPageView } from 'uiSrc/telemetry'
11
- import { appAnalyticsInfoSelector } from 'uiSrc/slices/app/info'
12
11
import darkLogo from 'uiSrc/assets/img/dark_logo.svg'
13
12
import lightLogo from 'uiSrc/assets/img/light_logo.svg'
14
13
import { AddDbType } from 'uiSrc/pages/home/components/AddDatabases/AddDatabasesContainer'
@@ -38,7 +37,6 @@ export interface Props {
38
37
const Welcome = ( { onAddInstance } : Props ) => {
39
38
const featureFlags = useSelector ( appFeatureFlagsFeaturesSelector )
40
39
const { loading, data } = useSelector ( contentSelector )
41
- const { identified : analyticsIdentified } = useSelector ( appAnalyticsInfoSelector )
42
40
43
41
const [ promoData , setPromoData ] = useState < ContentCreateRedis > ( )
44
42
const [ guides , setGuides ] = useState < IHelpGuide [ ] > ( [ ] )
@@ -91,12 +89,10 @@ const Welcome = ({ onAddInstance }: Props) => {
91
89
]
92
90
93
91
useEffect ( ( ) => {
94
- if ( analyticsIdentified ) {
95
- sendPageViewTelemetry ( {
96
- name : TelemetryPageView . WELCOME_PAGE
97
- } )
98
- }
99
- } , [ analyticsIdentified ] )
92
+ sendPageViewTelemetry ( {
93
+ name : TelemetryPageView . WELCOME_PAGE
94
+ } )
95
+ } , [ ] )
100
96
101
97
useEffect ( ( ) => {
102
98
if ( loading || ! data || isEmpty ( data ) ) {
0 commit comments