Skip to content

Commit bcfab28

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/coreui-vue/src/components/form/CFormLabel.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ const CFormLabel = defineComponent({
1212
required: false,
1313
},
1414
},
15-
setup(props, { attrs, slots }) {
15+
setup(props, { slots }) {
1616
return () =>
1717
h(
1818
'label',
1919
{
20-
...attrs,
2120
class: props.customClassName ? props.customClassName : 'form-label',
2221
},
2322
slots.default && slots.default(),

0 commit comments

Comments
 (0)