fix(auth): hide error/success messages when user is authenticated or conflicting states exist
This commit is contained in:
@@ -60,7 +60,7 @@ export default function LogoutPage({ onLogout, onSetSessionCookie }) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{error && (
|
||||
{error && !success && (
|
||||
<div className="mb-4 p-3 bg-red-50 border border-red-200 rounded-lg dark:bg-red-500/10 dark:border-red-500/20">
|
||||
<div className="flex items-center space-x-2">
|
||||
<div className="w-1.5 h-1.5 bg-red-500 rounded-full flex-shrink-0"></div>
|
||||
|
||||
Reference in New Issue
Block a user