style fixes + remove lastShared state
This commit is contained in:
parent
4c337a5114
commit
53484db768
4 changed files with 17 additions and 7 deletions
|
|
@ -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 && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue