chore(frontend): use toast to show message when call copyToClipboard
This commit is contained in:
parent
32844e4775
commit
81a0cbd294
21 changed files with 16 additions and 27 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue