From 6f86ebae7aa8a19491722196d11046a526759edd Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Sun, 14 May 2023 07:44:35 -0400 Subject: [PATCH] allow Isp.Switch to have multiple child elements --- example/app.tsx | 4 ++++ lib/iso.tsx | 2 +- server.tsx | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/example/app.tsx b/example/app.tsx index c2b0679..2f45e75 100644 --- a/example/app.tsx +++ b/example/app.tsx @@ -39,6 +39,10 @@ export default ()=> + +

thing1

+

thing2

+
diff --git a/lib/iso.tsx b/lib/iso.tsx index 8ea9cd0..e4cf49c 100644 --- a/lib/iso.tsx +++ b/lib/iso.tsx @@ -279,7 +279,7 @@ export const Switch =({children}:{children:Children})=> for(let i=0; i