refactor(loading): streamline LoadingOverlay usage in HomePage and AuthCallback to return null during loading states
This commit is contained in:
@@ -110,12 +110,12 @@ function AuthCallbackContent() {
|
||||
}
|
||||
|
||||
// * Use standard Pulse loading screen to make transition to Home seamless
|
||||
return <LoadingOverlay portal={false} />
|
||||
return null
|
||||
}
|
||||
|
||||
export default function AuthCallback() {
|
||||
return (
|
||||
<Suspense fallback={<LoadingOverlay portal={false} />}>
|
||||
<Suspense fallback={null}>
|
||||
<AuthCallbackContent />
|
||||
</Suspense>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user