Refactor server error handling in Servers component to improve UI clarity

This commit is contained in:
2025-10-05 16:38:56 +08:00
parent 86cfb82158
commit a957004142
2 changed files with 45 additions and 40 deletions

View File

@@ -307,15 +307,6 @@ function Servers() {
{server.category}
</span>
</div>
{server.error && (
<p style={{
fontSize: '0.9rem',
color: '#ef4444',
marginBottom: '1rem'
}}>
Error: {server.error}
</p>
)}
</div>
{/* Join Button */}