style fixes + remove lastShared state

This commit is contained in:
Felix Roos 2023-12-26 00:29:43 +01:00
parent 4c337a5114
commit 53484db768
4 changed files with 17 additions and 7 deletions

View file

@ -18,7 +18,6 @@ export function Header({ context }) {
started,
pending,
isDirty,
lastShared,
activeCode,
handleTogglePlay,
handleUpdate,
@ -119,7 +118,7 @@ export function Header({ context }) {
onClick={handleShare}
>
<LinkIcon className="w-6 h-6" />
<span>share{lastShared && lastShared === (activeCode || code) ? 'd!' : ''}</span>
<span>share</span>
</button>
)}
{!isEmbedded && (