diff --git a/packages/expo/src/hooks/useOAuth/useOAuth.ts b/packages/expo/src/hooks/useOAuth.ts similarity index 100% rename from packages/expo/src/hooks/useOAuth/useOAuth.ts rename to packages/expo/src/hooks/useOAuth.ts diff --git a/packages/expo/src/hooks/useOAuth/index.ts b/packages/expo/src/hooks/useOAuth/index.ts deleted file mode 100644 index a7e60d69df..0000000000 --- a/packages/expo/src/hooks/useOAuth/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './useOAuth'; diff --git a/packages/expo/src/hooks/useOAuth/useOAuth.web.ts b/packages/expo/src/hooks/useOAuth/useOAuth.web.ts deleted file mode 100644 index 3621cce6a4..0000000000 --- a/packages/expo/src/hooks/useOAuth/useOAuth.web.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { OAuthStrategy } from '@clerk/types'; -import { Platform } from 'react-native'; - -import { errorThrower } from '../../utils/errors'; - -export type UseOAuthFlowParams = { - strategy: OAuthStrategy; - redirectUrl?: string; - unsafeMetadata?: SignUpUnsafeMetadata; -}; -export function useOAuth(_useOAuthParams: UseOAuthFlowParams) { - if (Platform.OS === 'web') { - throw errorThrower.throw('useOAuth hook is not supported in Web'); - } -}