mirror of https://github.com/BRAVO68WEB/shx.git
fixed copy note link
This commit is contained in:
parent
13d3679020
commit
71b715d612
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue