From e7e38bbabd3395f7ce932b2489a218034d46ed7e Mon Sep 17 00:00:00 2001 From: Hetu Nandu Date: Fri, 22 Nov 2024 12:47:02 +0530 Subject: [PATCH] allow for single child --- .../ads/src/Templates/EntityExplorer/ListWithHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/packages/design-system/ads/src/Templates/EntityExplorer/ListWithHeader.tsx b/app/client/packages/design-system/ads/src/Templates/EntityExplorer/ListWithHeader.tsx index 8d303c045ad..57dda03d639 100644 --- a/app/client/packages/design-system/ads/src/Templates/EntityExplorer/ListWithHeader.tsx +++ b/app/client/packages/design-system/ads/src/Templates/EntityExplorer/ListWithHeader.tsx @@ -7,7 +7,7 @@ interface Props { headerText: string; headerControls?: React.ReactNode; maxHeight?: string; - children: React.ReactNode[]; + children: React.ReactNode | React.ReactNode[]; } export const ListWithHeader = (props: Props) => {