Skip to content

Commit

Permalink
use DID in permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
echo8 committed Dec 8, 2024
1 parent 19f0ede commit 94d496c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/src/components/SnippetView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function SnippetView({ snippet }: SnippetViewProps) {
title="Copy permalink"
onClick={() => {
navigator.clipboard.writeText(
`${import.meta.env.VITE_PUBLIC_URL}/user/${snippet.authorHandle}/snippet/${snippet.rkey}`
`${import.meta.env.VITE_PUBLIC_URL}/user/${snippet.authorDid}/snippet/${snippet.rkey}`
);
}}
>
Expand Down

0 comments on commit 94d496c

Please sign in to comment.