Update MultiplayerMenu.tsx

This commit is contained in:
Steve Ruiz 2022-06-24 15:47:53 +01:00
parent f48ce9962d
commit dc1f21bdc0

View file

@ -95,12 +95,8 @@ export const MultiplayerMenu = React.memo(function MultiplayerMenu() {
return (
<DropdownMenu.Root dir="ltr">
<DMTriggerIcon id="TD-MultiplayerMenuIcon">
{room ? (
<PersonIcon strokeWidth={0.5} stroke={'black'} />
) : (
<PersonIcon strokeWidth={0.25} stroke={'black'} />
)}
<DMTriggerIcon id="TD-MultiplayerMenuIcon" isActive={!!room}>
<PersonIcon />
</DMTriggerIcon>
<DMContent variant="menu" align="start" id="TD-MultiplayerMenu">
<DMItem id="TD-Multiplayer-CopyInviteLink" onClick={handleCopySelect} disabled={!room}>