From bc9cdc8420c6bb9365c68acb695e26e069610005 Mon Sep 17 00:00:00 2001 From: Matt Fiddaman Date: Tue, 21 Jan 2025 14:09:21 +0000 Subject: [PATCH] Update packages/desktop-client/src/components/spreadsheet/CellValue.tsx Co-authored-by: Julian Dominguez-Schatz --- .../desktop-client/src/components/spreadsheet/CellValue.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/desktop-client/src/components/spreadsheet/CellValue.tsx b/packages/desktop-client/src/components/spreadsheet/CellValue.tsx index f5f45140a3f..910336b42af 100644 --- a/packages/desktop-client/src/components/spreadsheet/CellValue.tsx +++ b/packages/desktop-client/src/components/spreadsheet/CellValue.tsx @@ -44,7 +44,7 @@ export function CellValue< const { fullSheetName } = useSheetName(binding); const sheetValue = useSheetValue(binding); - return children && children.length > 0 ? ( + return children && React.Children.toArray(children).length ? ( <>{children({ type, name: fullSheetName, value: sheetValue })} ) : (