fix(auth): hide error/success messages when user is authenticated or conflicting states exist

This commit is contained in:
2026-04-22 20:41:35 -04:00
parent fc0a4b744b
commit ad4847e1c5
5 changed files with 8 additions and 8 deletions
@@ -74,7 +74,7 @@ export default function ResetPasswordPage({ onSubmit, onNavigate, email, token }
</p>
</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>