We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1663ad6 commit ae4f590Copy full SHA for ae4f590
components/hearing/Transcriptions.tsx
@@ -15,6 +15,8 @@ import {
15
} from "./hearing"
16
import { ShareLinkButton } from "components/buttons"
17
18
+import { siteUrl } from "components/links"
19
+
20
const ClearButton = styled(FontAwesomeIcon)`
21
position: absolute;
22
right: 3rem;
@@ -386,9 +388,9 @@ const TranscriptItem = forwardRef(function TranscriptItem(
386
388
<>
387
389
<ShareLinkButton
390
key="copy"
- text={`http://localhost:3000/hearing/${hearingId}?t=${formatTotalSeconds(
- element.start
391
- )}`}
+ text={siteUrl(
392
+ `hearing/${hearingId}?t=${formatTotalSeconds(element.start)}`
393
+ )}
394
className={`copy my-1 px-1 py-0`}
395
format="text/plain"
396
onMouseEnter={() => setIsHovered(true)}
0 commit comments