Skip to content

Commit fa24350

Browse files
committedOct 15, 2024
fix: use handleCloseToast instead of deleteToast function for headless toast to get onDismiss callback right
1 parent 13dcfd8 commit fa24350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/Toast.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<component
6767
:is="toast.component"
6868
v-bind="toast.componentProps"
69-
:onCloseToast="deleteToast"
69+
:onCloseToast="handleCloseToast"
7070
/>
7171
</template>
7272

0 commit comments

Comments
 (0)