Skip to content

Commit

Permalink
feat: remove build warning for analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
xlecunff-pass committed Jan 30, 2025
1 parent ed7c71c commit 6da9471
Show file tree
Hide file tree
Showing 363 changed files with 376 additions and 384 deletions.
2 changes: 1 addition & 1 deletion src/features/achievements/hooks/useAchievementDetails.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AchievementEnum } from 'api/gen'
import { achievementData } from 'features/achievements/data/AchievementData'
import { useAuthContext } from 'features/auth/context/AuthContext'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'

export const useAchievementDetails = (name: AchievementEnum) => {
const { user } = useAuthContext()
Expand Down
2 changes: 1 addition & 1 deletion src/features/achievements/hooks/useAchievements.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AchievementEnum, AchievementResponse } from 'api/gen'
import { Achievement, AchievementCategory } from 'features/achievements/data/AchievementData'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { AccessibleIcon } from 'ui/svg/icons/types'

type Categories = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react'
import * as API from 'api/api'
import { AchievementEnum, AchievementResponse } from 'api/gen'
import { AchievementSuccessModal } from 'features/achievements/pages/AchievementSuccessModal'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { mockServer } from 'tests/mswServer'
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC'
import { render, screen, userEvent } from 'tests/utils'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styled from 'styled-components/native'
import { AchievementEnum, AchievementResponse } from 'api/gen'
import success from 'features/achievements/animations/success.json'
import { useAchievementsMarkAsSeen } from 'features/achievements/api/useMarkAchievementsAsSeen'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import LottieView from 'libs/lottie'
import { ButtonPrimary } from 'ui/components/buttons/ButtonPrimary'
import { ButtonTertiaryBlack } from 'ui/components/buttons/ButtonTertiaryBlack'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/api/useSignIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {
UseNavigationType,
} from 'features/navigation/RootNavigator/types'
import { useDeviceInfo } from 'features/trustedDevice/helpers/useDeviceInfo'
import { analytics } from 'libs/analytics'
import { LoginRoutineMethod, SSOType } from 'libs/analytics/logEventAnalytics'
import { analytics } from 'libs/analytics/provider'
import { storage } from 'libs/storage'
import { useShouldShowCulturalSurveyForBeneficiaryUser } from 'shared/culturalSurvey/useShouldShowCulturalSurveyForBeneficiaryUser'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as API from 'api/api'
import { AccountState, OauthStateResponse, SigninResponse, UserProfileResponse } from 'api/gen'
import { SSOButton } from 'features/auth/components/SSOButton/SSOButton'
import { beneficiaryUser } from 'fixtures/user'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { setFeatureFlags } from 'libs/firebase/firestore/featureFlags/__tests__/setFeatureFlags'
import { RemoteStoreFeatureFlags } from 'libs/firebase/firestore/types'
import { DEFAULT_REMOTE_CONFIG } from 'libs/firebase/remoteConfig/remoteConfig.constants'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/helpers/contactSupport.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ContactSupport } from 'features/auth/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { env } from 'libs/environment/env'
import { eventMonitoring } from 'libs/monitoring'

Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/helpers/useLoginRoutine.native.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { useLoginRoutine } from 'features/auth/helpers/useLoginRoutine'
import { ALL_OPTIONAL_COOKIES, COOKIES_BY_CATEGORY } from 'features/cookies/CookiesPolicy'
import { CookiesConsent } from 'features/cookies/types'
import { FAKE_USER_ID } from 'fixtures/fakeUserId'
import { analytics } from 'libs/analytics'
import { SSOType } from 'libs/analytics/logEventAnalytics'
import { analytics } from 'libs/analytics/provider'
// eslint-disable-next-line no-restricted-imports
import { firebaseAnalytics } from 'libs/firebase/analytics/analytics'
import * as Keychain from 'libs/keychain/keychain'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/helpers/useLoginRoutine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { scheduleAccessTokenRemoval } from 'api/refreshAccessToken'
import { useAuthContext } from 'features/auth/context/AuthContext'
import { useResetContexts } from 'features/auth/context/useResetContexts'
import { useConnectServicesRequiringUserId } from 'features/auth/helpers/useConnectServicesRequiringUserId'
import { analytics } from 'libs/analytics'
import { LoginRoutineMethod, SSOType } from 'libs/analytics/logEventAnalytics'
import { analytics } from 'libs/analytics/provider'
import { saveRefreshToken } from 'libs/keychain/keychain'
import { storage } from 'libs/storage'

Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/helpers/useLogoutRoutine.native.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import AsyncStorage from '@react-native-async-storage/async-storage'
import * as ReactQueryAPI from 'react-query'

import { BatchProfile } from '__mocks__/@batch.com/react-native-plugin'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import * as Keychain from 'libs/keychain/keychain'
import { eventMonitoring } from 'libs/monitoring'
import { googleLogout } from 'libs/react-native-google-sso/googleLogout'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/helpers/useLogoutRoutine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useCallback } from 'react'
import { useQueryClient } from 'react-query'

import { useAuthContext } from 'features/auth/context/AuthContext'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { clearRefreshToken } from 'libs/keychain/keychain'
import { eventMonitoring } from 'libs/monitoring'
import { QueryKeys } from 'libs/queryKeys'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { AccountState } from 'api/gen'
import * as LoginRoutine from 'features/auth/helpers/useLoginRoutine'
import { navigateToHome } from 'features/navigation/helpers/navigateToHome'
import { Referrals } from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import * as datesLib from 'libs/dates'
import { mockServer } from 'tests/mswServer'
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useLoginRoutine } from 'features/auth/helpers/useLoginRoutine'
import { navigateToHome } from 'features/navigation/helpers/navigateToHome'
import { UseNavigationType, UseRouteType } from 'features/navigation/RootNavigator/types'
import { useDeviceInfo } from 'features/trustedDevice/helpers/useDeviceInfo'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { isTimestampExpired } from 'libs/dates'
import { PasswordInputController } from 'shared/forms/controllers/PasswordInputController'
import { newPasswordSchema } from 'shared/forms/schemas/newPasswordSchema'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { withAsyncErrorBoundary } from 'features/errors/hocs/withAsyncErrorBound
import { navigateToHomeConfig } from 'features/navigation/helpers/navigateToHome'
import { navigateFromRef } from 'features/navigation/navigationRef'
import { RootStackParamList } from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { mockServer } from 'tests/mswServer'
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC'
import { act, fireEvent, render, screen, waitFor } from 'tests/utils'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useQuery } from 'react-query'

import { api } from 'api/api'
import { RootStackParamList, UseNavigationType } from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { env } from 'libs/environment/env'
import { AsyncError } from 'libs/monitoring'
import { LogTypeEnum } from 'libs/monitoring/errors'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/pages/login/Login.native.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { usePreviousRoute } from 'features/navigation/helpers/usePreviousRoute'
import { StepperOrigin } from 'features/navigation/RootNavigator/types'
import { FAKE_USER_ID } from 'fixtures/fakeUserId'
import { beneficiaryUser } from 'fixtures/user'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
// eslint-disable-next-line no-restricted-imports
import { firebaseAnalytics } from 'libs/firebase/analytics/analytics'
import { setFeatureFlags } from 'libs/firebase/firestore/featureFlags/__tests__/setFeatureFlags'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/pages/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
UseNavigationType,
UseRouteType,
} from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { useFeatureFlag } from 'libs/firebase/firestore/featureFlags/useFeatureFlag'
import { RemoteStoreFeatureFlags } from 'libs/firebase/firestore/types'
import { useSafeState } from 'libs/hooks'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Linking } from 'react-native'

import { navigate } from '__mocks__/@react-navigation/native'
import { setSettings } from 'features/auth/tests/setSettings'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { env } from 'libs/environment/env'
import { useNetInfoContext as useNetInfoContextDefault } from 'libs/network/NetInfoWrapper'
import { UnknownErrorFixture } from 'libs/recaptcha/fixtures'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/pages/signup/AcceptCgu/AcceptCgu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useSettingsContext } from 'features/auth/context/SettingsContext'
import { useSignupRecaptcha } from 'features/auth/helpers/useSignupRecaptcha'
import { acceptCGUSchema } from 'features/auth/pages/signup/AcceptCgu/acceptCguSchema'
import { PreValidationSignupLastStepProps } from 'features/auth/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { env } from 'libs/environment/env'
import { useNetInfoContext } from 'libs/network/NetInfoWrapper'
import { ReCaptcha } from 'libs/recaptcha/ReCaptcha'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as ShareAppWrapperModule from 'features/share/context/ShareAppWrapper'
import { ShareAppWrapper } from 'features/share/context/ShareAppWrapper'
import { ShareAppModalType } from 'features/share/types'
import { beneficiaryUser } from 'fixtures/user'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { setFeatureFlags } from 'libs/firebase/firestore/featureFlags/__tests__/setFeatureFlags'
import { RemoteStoreFeatureFlags } from 'libs/firebase/firestore/types'
import { mockAuthContextWithUser } from 'tests/AuthContextUtils'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useAuthContext } from 'features/auth/context/AuthContext'
import { navigateToHomeConfig } from 'features/navigation/helpers/navigateToHome'
import { useShareAppContext } from 'features/share/context/ShareAppWrapper'
import { ShareAppModalType } from 'features/share/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { BatchEvent, BatchProfile } from 'libs/react-native-batch'
import { useShouldShowCulturalSurveyForBeneficiaryUser } from 'shared/culturalSurvey/useShouldShowCulturalSurveyForBeneficiaryUser'
import IlluminatedSmileyAnimation from 'ui/animations/lottie_illuminated_smiley.json'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { UserProfileResponse, ValidateEmailResponse } from 'api/gen'
import * as LoginAndRedirectAPI from 'features/auth/pages/signup/helpers/useLoginAndRedirect'
import { homeNavConfig } from 'features/navigation/TabBar/helpers'
import { nonBeneficiaryUser } from 'fixtures/user'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import * as datesLib from 'libs/dates'
import { mockServer } from 'tests/mswServer'
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useLoginAndRedirect } from 'features/auth/pages/signup/helpers/useLogin
import { UseNavigationType, UseRouteType } from 'features/navigation/RootNavigator/types'
import { homeNavConfig } from 'features/navigation/TabBar/helpers'
import { useDeviceInfo } from 'features/trustedDevice/helpers/useDeviceInfo'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { isTimestampExpired } from 'libs/dates'
import { LoadingPage } from 'ui/components/LoadingPage'
import { SNACK_BAR_TIME_OUT, useSnackBarContext } from 'ui/components/snackBar/SnackBarContext'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'

import { SignupStep } from 'features/auth/enums'
import { navigateToHome } from 'features/navigation/helpers/navigateToHome'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { fireEvent, render, screen } from 'tests/utils'

import { QuitSignupModal } from './QuitSignupModal'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components/native'

import { SignupStep } from 'features/auth/enums'
import { navigateToHome } from 'features/navigation/helpers/navigateToHome'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { ButtonPrimaryWhite } from 'ui/components/buttons/ButtonPrimaryWhite'
import { ButtonTertiaryWhite } from 'ui/components/buttons/ButtonTertiaryWhite'
import { AppFullPageModal } from 'ui/components/modals/AppFullPageModal'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ValidationError } from 'yup'

import { setBirthdaySchema } from 'features/auth/pages/signup/SetBirthday/schema/setBirthdaySchema'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'

const today = new Date()
const lessThanFifteenYearsOldBirthdate = new Date()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { date, object } from 'yup'

import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { dateDiffInFullYears } from 'libs/dates'

export const setBirthdaySchema = object().shape({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { navigate, useRoute } from '__mocks__/@react-navigation/native'
import { OauthStateResponse } from 'api/gen'
import { PreValidationSignupNormalStepProps, SignInResponseFailure } from 'features/auth/types'
import { StepperOrigin } from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { setFeatureFlags } from 'libs/firebase/firestore/featureFlags/__tests__/setFeatureFlags'
import { RemoteStoreFeatureFlags } from 'libs/firebase/firestore/types'
import { mockServer } from 'tests/mswServer'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/pages/signup/SetEmail/SetEmail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { SSOButton } from 'features/auth/components/SSOButton/SSOButton'
import { setEmailSchema } from 'features/auth/pages/signup/SetEmail/schema/setEmailSchema'
import { PreValidationSignupNormalStepProps, SignInResponseFailure } from 'features/auth/types'
import { StepperOrigin, UseRouteType } from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { useFeatureFlag } from 'libs/firebase/firestore/featureFlags/useFeatureFlag'
import { RemoteStoreFeatureFlags } from 'libs/firebase/firestore/types'
import { CheckboxController } from 'shared/forms/controllers/CheckboxController'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'

import { api } from 'api/api'
import { EmailValidationRemainingResendsResponse } from 'api/gen'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { DEFAULT_REMOTE_CONFIG } from 'libs/firebase/remoteConfig/remoteConfig.constants'
import * as useRemoteConfigContext from 'libs/firebase/remoteConfig/RemoteConfigProvider'
import { eventMonitoring } from 'libs/monitoring'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiError } from 'api/ApiError'
import { useEmailValidationRemainingResends } from 'features/auth/api/useEmailValidationRemainingResend'
import { useResendEmailValidation } from 'features/auth/api/useResendEmailValidation'
import { EmailAttemptsLeft } from 'features/auth/pages/signup/SignupConfirmationEmailSent/EmailAttemptsLeft'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { formatToSlashedFrenchDate } from 'libs/dates'
import { useLogTypeFromRemoteConfig } from 'libs/hooks/useLogTypeFromRemoteConfig'
import { useTimer } from 'libs/hooks/useTimer'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { EmailValidationRemainingResendsResponse } from 'api/gen'
import { contactSupport } from 'features/auth/helpers/contactSupport'
import { openUrl } from 'features/navigation/helpers/openUrl'
import { usePreviousRoute } from 'features/navigation/helpers/usePreviousRoute'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { mockServer } from 'tests/mswServer'
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC'
import { act, fireEvent, render, screen } from 'tests/utils'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { FunctionComponent } from 'react'
import { EmailSentGeneric } from 'features/auth/components/EmailSentGeneric'
import { contactSupport } from 'features/auth/helpers/contactSupport'
import { EmailResendModal } from 'features/auth/pages/signup/SignupConfirmationEmailSent/EmailResendModal'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { ButtonTertiaryBlack } from 'ui/components/buttons/ButtonTertiaryBlack'
import { useModal } from 'ui/components/modals/useModal'
import { Again } from 'ui/svg/icons/Again'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { navigate } from '__mocks__/@react-navigation/native'
import { navigateToHomeConfig } from 'features/navigation/helpers/navigateToHome'
import { navigateFromRef } from 'features/navigation/navigationRef'
import { RootStackParamList } from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { mockServer } from 'tests/mswServer'
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC'
import { act, fireEvent, render, screen, waitFor } from 'tests/utils'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useQuery } from 'react-query'

import { api } from 'api/api'
import { RootStackParamList, UseNavigationType } from 'features/navigation/RootNavigator/types'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { env } from 'libs/environment/env'
import { AsyncError } from 'libs/monitoring'
import { LogTypeEnum } from 'libs/monitoring/errors'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/pages/signup/SignupForm.native.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { navigateToHomeConfig } from 'features/navigation/helpers/navigateToHome
import { StepperOrigin } from 'features/navigation/RootNavigator/types'
import * as useGoBack from 'features/navigation/useGoBack'
import { beneficiaryUser } from 'fixtures/user'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { setFeatureFlags } from 'libs/firebase/firestore/featureFlags/__tests__/setFeatureFlags'
import { RemoteStoreFeatureFlags } from 'libs/firebase/firestore/types'
import { eventMonitoring } from 'libs/monitoring'
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/pages/signup/SignupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { UseNavigationType, UseRouteType } from 'features/navigation/RootNavigat
import { getTabNavConfig } from 'features/navigation/TabBar/helpers'
import { useGoBack } from 'features/navigation/useGoBack'
import { useDeviceInfo } from 'features/trustedDevice/helpers/useDeviceInfo'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { AsyncError, eventMonitoring } from 'libs/monitoring'
import { BlurHeader } from 'ui/components/headers/BlurHeader'
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { fireEvent, render, screen } from 'tests/utils'

import { FraudulentSuspendedAccount } from './FraudulentSuspendedAccount'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import styled from 'styled-components/native'

import { GenericSuspendedAccount } from 'features/auth/pages/suspendedAccount/GenericSuspendedAccount/GenericSuspendedAccount'
import { analytics } from 'libs/analytics'
import { analytics } from 'libs/analytics/provider'
import { Spacer, TypoDS } from 'ui/theme'

export const FraudulentSuspendedAccount = () => (
Expand Down
Loading

0 comments on commit 6da9471

Please sign in to comment.