Refactor server error handling in Servers component to improve UI clarity
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user