Skip to content

Commit e6136aa

Browse files
committed
Cleanup code a bit
1 parent 1d1046e commit e6136aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@headlessui-vue/src/components/description/description.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export let Description = defineComponent({
7676

7777
return () => {
7878
let { name = 'Description', slot = ref({}), props = {} } = context
79-
let { id: _id, ...theirProps } = myProps
79+
let { ...theirProps } = myProps
8080

8181
let ourProps = {
8282
...Object.entries(props).reduce(

packages/@headlessui-vue/src/components/label/label.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export let Label = defineComponent({
7575

7676
return () => {
7777
let { name = 'Label', slot = {}, props = {} } = context
78-
let { id: _id, passive, ...theirProps } = myProps
78+
let { passive, ...theirProps } = myProps
7979
let ourProps = {
8080
...Object.entries(props).reduce(
8181
(acc, [key, value]) => Object.assign(acc, { [key]: unref(value) }),

0 commit comments

Comments
 (0)