Skip to content

Commit f198a35

Browse files
committed
Revert unintended whitespace changes due to auto format
1 parent b7070a4 commit f198a35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jsx-dom.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export function Fragment(attr: { children: JSX.Element | JSX.Element[] }) {
118118
}
119119

120120
export class Component {
121-
constructor(readonly props: any) { }
121+
constructor(readonly props: any) {}
122122

123123
render() {
124124
return null
@@ -191,7 +191,7 @@ export function createElement(tag: any, attr: any, ...children: any[]) {
191191
attr = attr || {}
192192

193193
if (attr.children != null && !children.length) {
194-
; ({ children, ...attr } = attr)
194+
;({ children, ...attr } = attr)
195195
}
196196

197197
return jsx(tag, { ...attr, children }, attr.key)

0 commit comments

Comments
 (0)