diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-16 15:04:38 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-16 15:04:38 +0900 |
| commit | 81a0cbd294bd6485fc47200b1bf63dbf2cbc8507 (patch) | |
| tree | 305e1c3c8f884e8a6383e2a9020d5df3bcc7b0a9 /packages/frontend/src/utility/get-note-menu.ts | |
| parent | 🎨 (diff) | |
| download | sharkey-81a0cbd294bd6485fc47200b1bf63dbf2cbc8507.tar.gz sharkey-81a0cbd294bd6485fc47200b1bf63dbf2cbc8507.tar.bz2 sharkey-81a0cbd294bd6485fc47200b1bf63dbf2cbc8507.zip | |
chore(frontend): use toast to show message when call copyToClipboard
Diffstat (limited to 'packages/frontend/src/utility/get-note-menu.ts')
| -rw-r--r-- | packages/frontend/src/utility/get-note-menu.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/frontend/src/utility/get-note-menu.ts b/packages/frontend/src/utility/get-note-menu.ts index dea9bc39ad..9e1ae7e9ac 100644 --- a/packages/frontend/src/utility/get-note-menu.ts +++ b/packages/frontend/src/utility/get-note-menu.ts @@ -157,7 +157,6 @@ export function getCopyNoteLinkMenu(note: Misskey.entities.Note, text: string): text, action: (): void => { copyToClipboard(`${url}/notes/${note.id}`); - os.success(); }, }; } @@ -237,7 +236,6 @@ export function getNoteMenu(props: { function copyContent(): void { copyToClipboard(appearNote.text); - os.success(); } function togglePin(pin: boolean): void { @@ -324,7 +322,6 @@ export function getNoteMenu(props: { text: i18n.ts.copyRemoteLink, action: () => { copyToClipboard(appearNote.url ?? appearNote.uri); - os.success(); }, }, { icon: 'ti ti-external-link', @@ -483,7 +480,6 @@ export function getNoteMenu(props: { text: i18n.ts.copyRemoteLink, action: () => { copyToClipboard(appearNote.url ?? appearNote.uri); - os.success(); }, }, { icon: 'ti ti-external-link', @@ -516,7 +512,6 @@ export function getNoteMenu(props: { text: i18n.ts.copyNoteId, action: () => { copyToClipboard(appearNote.id); - os.success(); }, }); } |