chore(frontend): use toast to show message when call copyToClipboard
This commit is contained in:
		@@ -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') {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user