feat(chat-window): adjust color & size

This commit is contained in:
ItzCrazyKns 2024-06-25 16:11:39 +05:30
parent a152e58132
commit 4545ff1d7d
No known key found for this signature in database
GPG key ID: 8162927C7CCE3065
2 changed files with 6 additions and 2 deletions

View file

@ -114,7 +114,7 @@ const useSocket = (
'Failed to connect to the server. Please try again later.',
);
}
}, 10000); // 10 seconds timeout
}, 10000);
ws.onopen = () => {
console.log('[DEBUG] open');
@ -318,7 +318,9 @@ const ChatWindow = () => {
if (hasError) {
return (
<div className="flex flex-col items-center justify-center min-h-screen">
<p>Failed to connect to the server. Please try again later.</p>
<p className="dark:text-white/70 text-black/70 text-sm">
Failed to connect to the server. Please try again later.
</p>
</div>
);
}