Skip to content

Commit 6c85117

Browse files
committed
fix(CToastClose): Non-function value encountered for default slot
1 parent 81e25af commit 6c85117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/coreui-vue/src/components/toast/CToastClose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const CToastClose = defineComponent({
3636
handleClose()
3737
},
3838
},
39-
slots.default && slots.default(),
39+
() => slots.default && slots.default(),
4040
)
4141
: h(CCloseButton, {
4242
...props,

0 commit comments

Comments
 (0)