<a href="javascript:void(0)" onclick="remove_item_from_wishlist( '/wishlist/view/?remove_from_wishlist=2', 'yith-wcwl-row-2');" class="remove" title="Remove this product">×</a>
<a href="javascript:void(0)" onclick="remove_item_from_wishlist( 'https://www.8theme.com/demo/legenda/wp-admin/admin-ajax.php?wishlist_item_id=7925', 'yith-wcwl-row-7925');" class="remove" title="Remove this product">×</a>
Forgot to wrap it