fixed copy note link

This commit is contained in:
Chirag Bhalotia 2023-06-24 21:16:23 +05:30
parent 13d3679020
commit 71b715d612
No known key found for this signature in database
GPG Key ID: F7F1F1FBFFD40427
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ interface NotesLitsProps {
function NotesList({ data, onDeleteNote }: NotesLitsProps) {
function copyNoteLink(id: string) {
navigator.clipboard.writeText(`${window.location.origin.toString()}/${id}`);
navigator.clipboard.writeText(`${window.location.origin.toString()}/notes/${id}`);
}
return (
<div className="flex flex-col w-full gap-1">