Fix copy buttons in context menu
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m10s
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m10s
This commit is contained in:
parent
b52f9d1d38
commit
367c974cb3
@ -119,18 +119,18 @@ const PlayerResult = ({
|
||||
</div>
|
||||
</div>
|
||||
</ContextMenuTrigger>
|
||||
<ContextMenuContent>
|
||||
<ContextMenuItem>
|
||||
<CopyButton content={username}>Copy Player Username</CopyButton>
|
||||
</ContextMenuItem>
|
||||
<ContextMenuItem>
|
||||
<CopyButton content={uniqueId}>Copy Player UUID</CopyButton>
|
||||
</ContextMenuItem>
|
||||
<ContextMenuItem>
|
||||
<CopyButton content={`${config.siteUrl}/player/${query}`}>
|
||||
Copy Share URL
|
||||
</CopyButton>
|
||||
</ContextMenuItem>
|
||||
<ContextMenuContent className="flex flex-col">
|
||||
<CopyButton content={username}>
|
||||
<ContextMenuItem>Copy Player Username</ContextMenuItem>
|
||||
</CopyButton>
|
||||
|
||||
<CopyButton content={uniqueId}>
|
||||
<ContextMenuItem>Copy Player UUID</ContextMenuItem>
|
||||
</CopyButton>
|
||||
|
||||
<CopyButton content={`${config.siteUrl}/player/${query}`}>
|
||||
<ContextMenuItem>Copy Share URL</ContextMenuItem>
|
||||
</CopyButton>
|
||||
</ContextMenuContent>
|
||||
</ContextMenu>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user