Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
RobMayer committed Sep 28, 2023
1 parent 11ab8e5 commit b84c38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ const createElement = <const T extends keyof JSX.IntrinsicElements>(tag: T, attr
case "text":
return textElement(attrs as JSX.IntrinsicElements["text"], ensureStrings(...children));
case "button":
return buttonElement(attrs as JSX.IntrinsicElements["button"]);
return buttonElement(attrs as JSX.IntrinsicElements["button"], ensureStrings(...children));
case "checkbox":
return checkboxElement(attrs as JSX.IntrinsicElements["checkbox"]);
case "textarea":
Expand Down

0 comments on commit b84c38f

Please sign in to comment.