add src attribute for new users coming from embeds

This commit is contained in:
Sean Yesmunt 2020-05-01 11:47:36 -04:00
parent 7ea9c1c199
commit 5bb6cfdb42

View file

@ -46,7 +46,9 @@ function FileViewerEmbeddedEnded(props: Props) {
<div className="file-viewer__overlay-title">{prompt}</div>
<div className="file-viewer__overlay-actions">
<Button label={__('Rewatch or Discuss')} button="primary" href={lbrytvLink} />
{!isAuthenticated && <Button label={__('Join lbry.tv')} button="secondary" href={`${URL}/$/signup`} />}
{!isAuthenticated && (
<Button label={__('Join lbry.tv')} button="secondary" href={`${URL}/$/signup?src=embed_signup`} />
)}
</div>
</div>
);