Skip to content

Commit

Permalink
fix share url
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeep-ghosh committed Jun 7, 2024
1 parent 6347343 commit 8f49ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function HomePage() {

async function handleCopyToClipboard() {
await navigator.clipboard.writeText(
`${process.env.NEXT_PUBLIC_URL}/f/${respData?._id}`
`${process.env.NEXT_PUBLIC_URL}/s/${respData?._id}`
);
setCopiedToClipboard(true);
setTimeout(() => setCopiedToClipboard(false), 2000);
Expand Down

0 comments on commit 8f49ccf

Please sign in to comment.