From 95aebf572490ca74871c4c5bb60ef574a21fbfc6 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 29 Aug 2024 12:55:59 -0500 Subject: [PATCH] Simplify box --- bskyogcard/src/components/Box.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bskyogcard/src/components/Box.tsx b/bskyogcard/src/components/Box.tsx index 3c6b4480b5..96b0691ddd 100644 --- a/bskyogcard/src/components/Box.tsx +++ b/bskyogcard/src/components/Box.tsx @@ -4,10 +4,10 @@ import {atoms as a, style as s} from '../theme/index.js' export function Box({ children, - cx, + cx = [], }: { children?: React.ReactNode cx?: Record[] }) { - return
{children}
+ return
{children}
}