summaryrefslogtreecommitdiff
path: root/packages/frontend/src/os.ts
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-03-16 15:04:38 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-03-16 15:04:38 +0900
commit81a0cbd294bd6485fc47200b1bf63dbf2cbc8507 (patch)
tree305e1c3c8f884e8a6383e2a9020d5df3bcc7b0a9 /packages/frontend/src/os.ts
parent🎨 (diff)
downloadmisskey-81a0cbd294bd6485fc47200b1bf63dbf2cbc8507.tar.gz
misskey-81a0cbd294bd6485fc47200b1bf63dbf2cbc8507.tar.bz2
misskey-81a0cbd294bd6485fc47200b1bf63dbf2cbc8507.zip
chore(frontend): use toast to show message when call copyToClipboard
Diffstat (limited to 'packages/frontend/src/os.ts')
-rw-r--r--packages/frontend/src/os.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts
index a009a3f3d1..8e4c97e59f 100644
--- a/packages/frontend/src/os.ts
+++ b/packages/frontend/src/os.ts
@@ -63,7 +63,6 @@ export const apiWithDialog = (<E extends keyof Misskey.Endpoints, P extends Miss
});
if (result === 'copy') {
copyToClipboard(`Endpoint: ${endpoint}\nInfo: ${JSON.stringify(err.info)}\nDate: ${date}`);
- success();
}
return;
} else if (err.code === 'RATE_LIMIT_EXCEEDED') {