Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Feb 11, 2024
1 parent 3b43023 commit db582fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ export const createReactComponent = <
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
const eventName = name.substring(2).toLowerCase()
if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {
(acc as any)[name] = (cProps as any)[name]
;(acc as any)[name] = (cProps as any)[name]
}
} else {
(acc as any)[name] = (cProps as any)[name]
;(acc as any)[name] = (cProps as any)[name]
}
return acc
}, {})
Expand Down

0 comments on commit db582fe

Please sign in to comment.