Skip to content

Commit e2c3889

Browse files
committed
Fix type error
1 parent e499181 commit e2c3889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cells/src/cell.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export const CustomCellEditing: React.VFC = () => {
496496
onCellEdited={(cell, newVal) => {
497497
if (newVal.kind !== GridCellKind.Custom) return;
498498
if (DropdownRenderer.isMatch(newVal)) {
499-
data.current[cell[1]] = newVal.data.value;
499+
data.current[cell[1]] = newVal.data.value ?? "";
500500
}
501501
}}
502502
getCellsForSelection={true}

0 commit comments

Comments
 (0)