diff --git a/src/front/auth/context.js b/src/front/auth/context.js index 437df9a9..ab0dd2dc 100644 --- a/src/front/auth/context.js +++ b/src/front/auth/context.js @@ -9,7 +9,7 @@ import * as Sentry from 'sentry-expo'; import config from '../services/config'; import { updateConstants } from '../services/constants'; import myFetch from '../services/fetch'; -import { useAsyncError, useSecureState } from '../services/utilities'; +import { useSecureState } from '../services/utilities'; import useAppleProvider from './providers/apple'; import useFacebookProvider from './providers/facebook'; import useGoogleProvider from './providers/google'; @@ -61,8 +61,6 @@ export function AuthContextProvider({ children, onReady }) { currentProvider = PROVIDER_LOOKUP[authInfo.providerName]; } - const throwAsyncError = useAsyncError(); - React.useEffect(() => { if (Platform.OS == 'ios') { return;