Skip to content

Commit f013445

Browse files
fix: import Auth0Provider from local source in cra example for consistent types
1 parent 3448fb1 commit f013445

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/cra-react-router/src/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { createRoot } from "react-dom/client";
22
import React, { PropsWithChildren } from 'react';
33
import App from './App';
4-
import { Auth0Provider, AppState, User } from '@auth0/auth0-react';
4+
import { Auth0Provider, AppState, Auth0ProviderOptions, User } from '../../../src/index.js';
55
import { BrowserRouter, useNavigate } from 'react-router-dom';
6-
import { Auth0ProviderOptions } from '../../../src/index.js';
76

87
const Auth0ProviderWithRedirectCallback = ({
98
children,

0 commit comments

Comments
 (0)