🐛 Properly display success message toast for web preview
This commit is contained in:
@@ -17,7 +17,8 @@ export const WebPreview = () => {
|
|||||||
logs?.forEach((log) => {
|
logs?.forEach((log) => {
|
||||||
showToast({
|
showToast({
|
||||||
icon: <WebhookIcon />,
|
icon: <WebhookIcon />,
|
||||||
title: 'An error occured',
|
status: log.status === 'error' ? 'error' : 'success',
|
||||||
|
title: log.status === 'error' ? 'An error occured' : undefined,
|
||||||
description: log.description,
|
description: log.description,
|
||||||
details: log.details
|
details: log.details
|
||||||
? {
|
? {
|
||||||
|
|||||||
Reference in New Issue
Block a user