File tree Expand file tree Collapse file tree 2 files changed +131
-129
lines changed Expand file tree Collapse file tree 2 files changed +131
-129
lines changed Original file line number Diff line number Diff line change @@ -490,11 +490,15 @@ const App = () => {
490
490
) ;
491
491
492
492
// Helper function to render OAuth callback components
493
- const renderOAuthCallback = ( path : string , onConnect : ( serverUrl : string ) => void ) => {
494
- const Component = path === "/oauth/callback"
495
- ? React . lazy ( ( ) => import ( "./components/OAuthCallback" ) )
496
- : React . lazy ( ( ) => import ( "./components/OAuthDebugCallback" ) ) ;
497
-
493
+ const renderOAuthCallback = (
494
+ path : string ,
495
+ onConnect : ( serverUrl : string ) => void ,
496
+ ) => {
497
+ const Component =
498
+ path === "/oauth/callback"
499
+ ? React . lazy ( ( ) => import ( "./components/OAuthCallback" ) )
500
+ : React . lazy ( ( ) => import ( "./components/OAuthDebugCallback" ) ) ;
501
+
498
502
return (
499
503
< Suspense fallback = { < div > Loading...</ div > } >
500
504
< Component onConnect = { onConnect } />
You can’t perform that action at this time.
0 commit comments