Skip to content

Commit 7207306

Browse files
fix: remove Auth0Client export from auth0-react
1 parent 4889dce commit 7207306

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

EXAMPLES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ If you need to share an `Auth0Client` instance between the React tree and code t
109109

110110
```jsx
111111
// auth0-client.js
112-
import { Auth0Client } from '@auth0/auth0-react';
112+
import { Auth0Client } from '@auth0/auth0-spa-js';
113113

114114
export const auth0Client = new Auth0Client({
115115
domain: 'YOUR_AUTH0_DOMAIN',

src/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export {
44
Auth0ProviderWithConfigOptions,
55
Auth0ProviderWithClientOptions,
66
AppState,
7-
ConnectedAccount,
7+
ConnectedAccount
88
} from './auth0-provider';
99
export { default as useAuth0 } from './use-auth0';
1010
export { default as withAuth0, WithAuth0Props } from './with-auth0';
@@ -20,7 +20,6 @@ export {
2020
RedirectLoginOptions,
2121
} from './auth0-context';
2222
export {
23-
Auth0Client,
2423
AuthorizationParams,
2524
PopupLoginOptions,
2625
PopupConfigOptions,

0 commit comments

Comments
 (0)