Skip to content

Commit

Permalink
fgh
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Jan 11, 2025
1 parent b1dfbc7 commit 5ca04b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/chatBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ export default function ChatBox({ ws, open, onToggle, enabled, myId, inGame, min
return (
<div className={`chatboxParent ${enabled ? 'enabled' : ''} ${notGuestChatDisabled ? 'guest' : ''}`}>
<button
style={{ display: 'none' }}
className={`chatboxBtn ${open ? 'open' : ''} ${miniMapShown ? 'minimap' : ''}`} style={{ fontSize: '16px', fontWeight: 'bold', color: 'white', background: 'green', border: 'none', borderRadius: '5px', padding: '10px 20px', cursor: 'pointer' }} onClick={onToggle}>
className={`chatboxBtn ${open ? 'open' : ''} ${miniMapShown ? 'minimap' : ''}`} style={{ display: "none", fontSize: '16px', fontWeight: 'bold', color: 'white', background: 'green', border: 'none', borderRadius: '5px', padding: '10px 20px', cursor: 'pointer' }} onClick={onToggle}>
{open ? <FaXmark onClick={onToggle} /> : `${text("chat")}${unreadCount > 0 ? ` (${unreadCount})` : ''}`}
</button>
<div className={`chatbox ${open ? 'open' : ''}`}>
Expand Down

0 comments on commit 5ca04b7

Please sign in to comment.