provide link to results

pull/5370/head
filip mertens 4 years ago committed by Joseph Izang
parent 18fa1ff75e
commit 08858ee6e4
  1. 1
      .eslintcache
  2. 17
      src/views/HomeView.tsx

File diff suppressed because one or more lines are too long

@ -132,20 +132,9 @@ export const HomeView: React.FC = () => {
</div>
{!isPublishing && publishedURL !== "" && (
<>
<CopyToClipboard
onCopy={() => setIsCopied(true)}
text={publishedURL}
>
<button
style={{ marginTop: "1em" }}
className="btn btn-secondary btn-sm btn-block"
>
Copy link to clipboard
</button>
</CopyToClipboard>
{isCopied && (
<div className="small mt-1">Link copied to clipboard</div>
)}
<div className="small mt-1"><a rel="noreferrer" href={publishedURL} target="_blank">{publishedURL}</a></div>
</>
)}

Loading…
Cancel
Save