We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07371a1 commit 90302cfCopy full SHA for 90302cf
src/components/blog-post/copy-link-button.tsx
@@ -21,7 +21,7 @@ export const CopyLinkButton: FC<CopyLinkButtonProps> = (props) => {
21
color="gray"
22
variant="ghost"
23
onClick={async () => {
24
- await navigator.clipboard.writeText(`${siteUrl}${pathname}`);
+ await navigator.clipboard.writeText(siteUrl + pathname);
25
setCopied(true);
26
timeout.current = setTimeout(() => setCopied(false), 1000);
27
}}
0 commit comments