Skip to content

Commit

Permalink
Fixed eslint failure
Browse files Browse the repository at this point in the history
  • Loading branch information
predatorray committed Dec 11, 2024
1 parent e4dbb63 commit d8acb99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
user-select: none;
}

.message-bar .title-bar .profile a {
.message-bar .title-bar .profile h4 {
font-size: 14px;
font-weight: bold;
margin-left: 7px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/MessageBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default function MessageBar(props: {
<div className="title-bar" onClick={flipCollapsed}>
<div className="profile">
<PlayerAvatar playerId={playerId}/>
<a>Messages</a>
<h4>Messages</h4>
{
(collapsed && unreadMessageCount > 0) && <span className="badge">{unreadMessageCount > 99 ? '99+' : unreadMessageCount}</span>
}
Expand Down

0 comments on commit d8acb99

Please sign in to comment.