We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b64cab commit c0fcbbbCopy full SHA for c0fcbbb
1 file changed
app/customize/components/ExportPanel.tsx
@@ -1,4 +1,5 @@
1
import { useState } from 'react';
2
+import { toast } from 'sonner';
3
import type { ReactElement } from 'react';
4
import type { ExportFormat } from '../types';
5
import { getPlaceholderSnippet } from '../utils';
@@ -114,7 +115,7 @@ export function ExportPanel({
114
115
URL.revokeObjectURL(downloadUrl);
116
} catch (error) {
117
console.error('Failed to download custom vector badge image asset:', error);
- alert('Failed to download the badge asset directly from the server pipeline.');
118
+ toast.error('Failed to download badge. Please try again.');
119
} finally {
120
setIsDownloading(false);
121
}
0 commit comments