diff --git a/src/app/content/views/Header/index.tsx b/src/app/content/views/Header/index.tsx index 8eee395..62eeed2 100644 --- a/src/app/content/views/Header/index.tsx +++ b/src/app/content/views/Header/index.tsx @@ -12,7 +12,7 @@ const Header: FC = () => { const roomDomain = useRemeshDomain(RoomDomain()) const userList = useRemeshQuery(roomDomain.query.UserListQuery()) const peerId = useRemeshQuery(roomDomain.query.PeerIdQuery()) - const onlineCount = userList.length > 99 ? '99+' : userList.length + const onlineCount = userList.length return (
@@ -53,17 +53,17 @@ const Header: FC = () => { 1 ? 'bg-green-400' : 'bg-orange-400' )} > 1 ? 'bg-green-500' : 'bg-orange-500' )} > - ONLINE {onlineCount} + ONLINE {onlineCount > 99 ? '99+' : onlineCount}
)