Skip to content

Commit e78fe83

Browse files
committed
Revert "fix: replace alert() with toast.error() in ExportPanel download error handler"
This reverts commit c0fcbbb.
1 parent c0fcbbb commit e78fe83

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/customize/components/ExportPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useState } from 'react';
2-
import { toast } from 'sonner';
32
import type { ReactElement } from 'react';
43
import type { ExportFormat } from '../types';
54
import { getPlaceholderSnippet } from '../utils';
@@ -115,7 +114,7 @@ export function ExportPanel({
115114
URL.revokeObjectURL(downloadUrl);
116115
} catch (error) {
117116
console.error('Failed to download custom vector badge image asset:', error);
118-
toast.error('Failed to download badge. Please try again.');
117+
alert('Failed to download the badge asset directly from the server pipeline.');
119118
} finally {
120119
setIsDownloading(false);
121120
}

0 commit comments

Comments
 (0)