fix: always show link button

This commit is contained in:
Jeremy Kahn 2022-11-06 20:52:56 -06:00
parent 19d0faaccc
commit 51a17a72a3

View File

@ -99,6 +99,16 @@ export const ShellAppBar = ({
>
{title}
</Typography>
<Tooltip title="Copy current URL">
<IconButton
size="large"
color="inherit"
aria-label="Copy current URL"
onClick={onLinkButtonClick}
>
<LinkIcon />
</IconButton>
</Tooltip>
{doShowPeers ? (
<>
<Tooltip title="Show QR Code">
@ -111,16 +121,6 @@ export const ShellAppBar = ({
<QrCode2Icon />
</IconButton>
</Tooltip>
<Tooltip title="Copy current URL">
<IconButton
size="large"
color="inherit"
aria-label="Copy current URL"
onClick={onLinkButtonClick}
>
<LinkIcon />
</IconButton>
</Tooltip>
<Tooltip title="Click to show peer list">
<IconButton
size="large"