diff --git a/packages/Toast.vue b/packages/Toast.vue index 55a7b8e..e6ff27f 100644 --- a/packages/Toast.vue +++ b/packages/Toast.vue @@ -7,7 +7,7 @@ ref="toastRef" data-sonner-toast="" :class="toastClass" - :data-styled="!isTitleComponent" + :data-styled="!Boolean(toast.unstyled || unstyled)" :data-mounted="mounted" :data-promise="Boolean(toast.promise)" :data-removed="removed" diff --git a/packages/Toaster.vue b/packages/Toaster.vue index 2b373aa..c00c2fc 100644 --- a/packages/Toaster.vue +++ b/packages/Toaster.vue @@ -1,7 +1,7 @@