Skip to content

Commit f41b684

Browse files
committed
refactor(CCardImage): remove attrs because it's not necessary.
1 parent fe52c59 commit f41b684

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/coreui-vue/src/components/card/CCardImage.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ const CCardImage = defineComponent({
2525
},
2626
},
2727
},
28-
setup(props, { slots, attrs }) {
28+
setup(props, { slots }) {
2929
return () =>
3030
h(
3131
props.component,
3232
{
33-
...attrs,
3433
class: [props.orientation ? `card-img-${props.orientation}` : 'card-img'],
3534
},
3635
slots.default && slots.default(),

0 commit comments

Comments
 (0)