diff --git a/src/index.tsx b/src/index.tsx index a8041a0..492d475 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -363,7 +363,7 @@ const Toast = (props: ToastProps) => { <> {toastType || toast.icon || toast.promise ? (
- {toast.promise && toast.type === 'loading' && !toast.icon + {toast.promise || (toast.type === 'loading' && !toast.icon) ? toast.icon || icons?.loading || getLoadingIcon() : null} {toast.type !== 'loading' ? toast.icon || icons?.[toastType] || getAsset(toastType) : null}