From b36f36f530d6891ad481dcf0122212f940e26c6a Mon Sep 17 00:00:00 2001 From: Li Xin Date: Tue, 22 Apr 2025 10:12:16 +0800 Subject: [PATCH] feat: make children as optional --- web/src/app/_components/scroll-container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/_components/scroll-container.tsx b/web/src/app/_components/scroll-container.tsx index 2575a96..f57d769 100644 --- a/web/src/app/_components/scroll-container.tsx +++ b/web/src/app/_components/scroll-container.tsx @@ -13,7 +13,7 @@ export function ScrollContainer({ scrollShadowColor = "var(--background)", }: { className?: string; - children: React.ReactNode; + children?: React.ReactNode; scrollShadow?: boolean; scrollShadowColor?: string; }) {