From 6e7b66781b16cf381b90838a6e1e5931c544e8dd Mon Sep 17 00:00:00 2001 From: Matt Fiddaman Date: Tue, 21 Jan 2025 14:18:04 +0000 Subject: [PATCH] fix lint --- .../desktop-client/src/components/spreadsheet/CellValue.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/desktop-client/src/components/spreadsheet/CellValue.tsx b/packages/desktop-client/src/components/spreadsheet/CellValue.tsx index 910336b42af..525b1fabdbd 100644 --- a/packages/desktop-client/src/components/spreadsheet/CellValue.tsx +++ b/packages/desktop-client/src/components/spreadsheet/CellValue.tsx @@ -3,6 +3,7 @@ import React, { type ComponentPropsWithoutRef, type ReactNode, type CSSProperties, + Children, } from 'react'; import { styles } from '../../style'; @@ -44,7 +45,7 @@ export function CellValue< const { fullSheetName } = useSheetName(binding); const sheetValue = useSheetValue(binding); - return children && React.Children.toArray(children).length ? ( + return children && Children.toArray(children).length ? ( <>{children({ type, name: fullSheetName, value: sheetValue })} ) : (