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

Commit e5a5b91

Browse files
refactor: remove unnecessary spread.
1 parent 7c725ff commit e5a5b91

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/chakra-ui-core/src/CInputGroup/CInputGroup.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ const CInputGroup = {
5353
const clone = cloneVNode(vnode, h)
5454
return h(clone.componentOptions.Ctor, {
5555
...clone.data,
56-
on: {
57-
...(clone.componentOptions.listeners || {})
58-
},
56+
on: (clone.componentOptions.listeners || {}),
5957
props: {
6058
...(clone.data.props || {}),
6159
...clone.componentOptions.propsData,

0 commit comments

Comments
 (0)