Skip to content

Commit 6277126

Browse files
committed
rm toasts
1 parent 19f01e1 commit 6277126

File tree

2 files changed

+131
-129
lines changed

2 files changed

+131
-129
lines changed

client/src/App.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,15 @@ const App = () => {
490490
);
491491

492492
// 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+
498502
return (
499503
<Suspense fallback={<div>Loading...</div>}>
500504
<Component onConnect={onConnect} />

0 commit comments

Comments
 (0)