File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,18 @@ import ReactDOM from 'react-dom/client';
22import './index.css' ;
33import { BrowserRouter } from 'react-router-dom' ;
44import Auth0ProviderWithHistory from './components/Auth/Auth.tsx' ;
5- import React from 'react' ;
5+ // import React from 'react';
66import App from './App.tsx' ;
77import { SKIP_AUTH } from './utils/Constants.ts' ;
88
99ReactDOM . createRoot ( document . getElementById ( 'root' ) ! ) . render (
10- < React . StrictMode >
11- < BrowserRouter >
12- { SKIP_AUTH ? (
10+ < BrowserRouter >
11+ { SKIP_AUTH ? (
12+ < App />
13+ ) : (
14+ < Auth0ProviderWithHistory >
1315 < App />
14- ) : (
15- < Auth0ProviderWithHistory >
16- < App />
17- </ Auth0ProviderWithHistory >
18- ) }
19- </ BrowserRouter >
20- </ React . StrictMode >
16+ </ Auth0ProviderWithHistory >
17+ ) }
18+ </ BrowserRouter >
2119) ;
You can’t perform that action at this time.
0 commit comments