Skip to content

Commit 0905ebf

Browse files
committed
refactor(CToastClose): remove resolveComponent
1 parent 51ea728 commit 0905ebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineComponent, h, inject, resolveComponent } from 'vue'
1+
import { defineComponent, h, inject } from 'vue'
22
import { CCloseButton } from '../close-button/CCloseButton'
33

44
const CToastClose = defineComponent({
@@ -30,7 +30,7 @@ const CToastClose = defineComponent({
3030
return () =>
3131
props.component
3232
? h(
33-
resolveComponent(props.component),
33+
props.component,
3434
{
3535
onClick: () => {
3636
handleClose()

0 commit comments

Comments
 (0)