Corrección 1 — Delete de proceso restaurado +
This commit is contained in:
@@ -47,7 +47,11 @@ function RootComponent() {
|
||||
)
|
||||
}
|
||||
|
||||
if (!user && pathname !== '/login') return null
|
||||
if (!user && pathname !== '/login') return (
|
||||
<div className="min-h-screen flex items-center justify-center">
|
||||
<Loader2 className="h-8 w-8 animate-spin" style={{ color: '#F59845' }} />
|
||||
</div>
|
||||
)
|
||||
|
||||
return <Outlet />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user