From b84c38fb50e62d4e79128b1ee0cfdb470b81acc3 Mon Sep 17 00:00:00 2001 From: Rob Mayer <5171361+RobMayer@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:28:42 -0400 Subject: [PATCH] oops --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index d51530d..4a8bf66 100644 --- a/src/index.ts +++ b/src/index.ts @@ -268,7 +268,7 @@ const createElement = (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":