Skip to content

Commit 2495b08

Browse files
authored
fix:Add destructive toast variant for download error (#1025)
1 parent 14138da commit 2495b08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/DownloadButtonAndMenu.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export function DownloadButtonAndMenu({
9191
toast({
9292
title: "Error Downloading 3D Model",
9393
description: error.toString(),
94+
variant: "destructive",
9495
})
9596
}
9697
}}
@@ -113,6 +114,7 @@ export function DownloadButtonAndMenu({
113114
toast({
114115
title: "Error Downloading Fabrication Files",
115116
description: error.toString(),
117+
variant: "destructive",
116118
})
117119
})
118120
}}

0 commit comments

Comments
 (0)