diff --git a/src/index.tsx b/src/index.tsx index a3ea512..05fa5f1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -331,7 +331,7 @@ const Toast = (props: ToastProps) => { toastRef.current?.style.setProperty('--swipe-amount', `${swipeAmount}px`); }} > - {closeButton && !toast.jsx ? ( + {closeButton && !toast.jsx && toastType !== 'loading' ? (