Skip to content

Commit 7502365

Browse files
edvincandonafc163
andauthored
fix: SummaryCell triggering onCell warning (#723)
* fix: SummaryCell triggering `onCell` warning * Apply suggestions from code review Co-authored-by: afc163 <[email protected]>
1 parent dc08f13 commit 7502365

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/Footer/Cell.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,9 @@ export default function SummaryCell({
4444
record={null}
4545
dataIndex={null}
4646
align={align}
47-
render={() => ({
48-
children,
49-
props: {
50-
colSpan: mergedColSpan,
51-
rowSpan,
52-
},
53-
})}
47+
colSpan={mergedColSpan}
48+
rowSpan={rowSpan}
49+
render={() => children}
5450
{...fixedInfo}
5551
/>
5652
);

0 commit comments

Comments
 (0)