JSFiddle - React, Tailwind, and code Playground
HTML
<table class="Table">
<thead class="thead">
<tr class="tr">
<th class="th header">Done</th>
<th class="th header">None</th>
<th class="th header">None</th>
<th class="th header">Done</th>
<th class="th header">None</th>
<tr>
<td>info</td>
<td>info</td>
<td>info</td>
<td>info</td>
<td>info</td>
</tr>
<tr>
<td>info</td>
<td>info</td>
<td>info</td>
<td>info</td>
<td>info</td>
</tr>
</tr>
</thead>
</table>
JavaScript
$("th:contains('None')").each(function(index,value) {
$("tr td:nth-child("+$(this).index()+")").remove();
$(this).remove();
});