I tried to using the HTML5 Table. But, it's appending a duplication of table header and table body. It makes sense for having the below one table-header and table-body within a separate table. But, I didn't understand the point of the first one. Thats creating an unnecessary issues if I pass ref to header and body. because sometimes it's returns the below table-body and sometimes above one. Even though I'm interested in the table-body (below) with the actual values.

Is there any way, I can avoid rendering the first table`?
I tried to using the
HTML5 Table. But, it's appending a duplication oftable headerandtable body. It makes sense for having the below onetable-headerandtable-bodywithin a separatetable. But, I didn't understand the point of the first one. Thats creating an unnecessary issues if I pass ref toheaderandbody. because sometimes it's returns the belowtable-bodyand sometimes above one. Even though I'm interested in thetable-body(below) with the actual values.Is there any way, I can avoid rendering the first table`?