Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 25bbbfb

Browse files
committed
fix(layout): spread attrs to inside of h
1 parent 061a244 commit 25bbbfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/layout/src/box.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ export const CBox = defineComponent({
2626
return h(
2727
chakra(props.as, {
2828
label: 'box',
29-
...attrs,
3029
}),
31-
{},
30+
{ ...attrs },
3231
slots
3332
)
3433
}

0 commit comments

Comments
 (0)