Only show Copy link on Party pages

This commit is contained in:
Justin Edmund 2020-10-19 06:57:46 -07:00
parent 2530df6790
commit 05f4bc5e1c

View file

@ -58,7 +58,7 @@ const Header = (props: Props) => {
</div>
<div className="push" />
<div className="right">
{ (location.pathname !== '/') ?
{ (location.pathname.includes('/p/')) ?
<Button type="link" click={copyToClipboard}>Copy link</Button> : ''
}
<Button type="new" click={newParty}>New</Button>