JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<thead class="line-item-grid-header">
<tr>
<th>
<div>Value1</div>
</th>
<th>
<div>Value2</div>
</th>
</tr>
</thead>
</table>
JavaScript
$(function() {
$("thead.line-item-grid-header tr th div:contains(Value2)").hide();
});