diff --git a/libs/ngx-sonner/src/lib/toast.component.ts b/libs/ngx-sonner/src/lib/toast.component.ts index ad6a0df..4fe0db3 100644 --- a/libs/ngx-sonner/src/lib/toast.component.ts +++ b/libs/ngx-sonner/src/lib/toast.component.ts @@ -91,9 +91,7 @@ import { ToastProps } from './types'; } @else { @if (toastType() !== 'default' || toast().icon || toast().promise) {
- @if ( - toast().promise || (toastType() === 'loading' && !toast().icon) - ) { + @if (toastType() === 'loading' && !toast().icon) { } @if (toast().icon) {