diff --git a/components/AutoGrid.tsx b/components/AutoGrid.tsx
index fa7f789..a4eddd9 100644
--- a/components/AutoGrid.tsx
+++ b/components/AutoGrid.tsx
@@ -1,11 +1,11 @@
-import { JSX } from 'preact'
+import { ComponentChildren, JSX } from 'preact'
type Units = 'rem' | '%' | 'px'
export function AutoGrid(
{ columnWidth, children, style }: {
columnWidth: `${number}${Units}`
- children: JSX.Element | JSX.Element[]
+ children: ComponentChildren
style?: JSX.CSSProperties
},
) {
diff --git a/routes/index.tsx b/routes/index.tsx
index c4c65ca..cdc8d10 100644
--- a/routes/index.tsx
+++ b/routes/index.tsx
@@ -23,8 +23,8 @@ export default function Home() {