JSFiddle - React, Tailwind, and code Playground

HTML

<table>
<tr> 
    <td class="name">name1</td>
    <td class="type">type_with_no_edit</td>
    <td class="edit">
        <a href="edit" class="edit">edit</a>
    </td>
</tr>
</table>

JavaScript

$('td.type:contains("type_with_no_edit")').siblings('.edit').empty();