score:0

both connect and the redux provider expect single child components, so one thing to check is: from what i'm seeing on the the antd docs, the table component can return multiple children, try wrapping your table component in a fragment.

otherwise, are you sure it's coming from this file?
maybe the problem comes from the redux provider, in which case:
react.children.only expected to receive a single react element child navigator will help

also, just in case, even though that would be very surprising to me, have you tried removing the white space in between your parentheses and the actual component you return? maybe there is a no-break space?

return <table
  columns={tablecolumn}
  datasource={tabledata}
  rowkey={(record) => record.id}
/>

Related Query

More Query from same tag