How to remove refunds link from the Order page Magento 2?

Customers can track the status of their orders refunds from the dashboard of their accounts, My orders tab.

Refunds are the translated string label for Creditmemo functionality.

You can easily Remove refunds link from the Order view page using Magento 2 by modifying the XML file.

If you want to remove Order refunds link from the Order detail page, You need to override sales_order_info_links.xml file in your module or at the theme level.

refunds-creditmemo tabs.
Order Refunds Creditmemo tabs

Block name for refunds functionality:

Base File Path:

You need to remove the Block using an XML file to remove the refunds tab from the order details page.

sales_order_info_links.creditmemo contains the refunds tab link, label and path details.

<block class="Magento\Sales\Block\Order\Link" name="">
        <argument name="key" xsi:type="string">Creditmemos</argument>
        <argument name="path" xsi:type="string">sales/order/creditmemo</argument>
        <argument name="label" xsi:type="string" translate="true">Refunds</argument>

If you want to remove Order refunds link from the order view page, Create  sales_order_info_links.xml file,

Override XML file by the two approaches,

1. From Theme level,

2. From Module Level,
Create app/code/Jesadiya/Shipment/view/frontend/layout/

Keep the Below content in your XML file,

<?xml version="1.0"?>

<page xmlns:xsi=""
        <referenceBlock name="" remove="true"/>

Clear the Cache (bin/magento cache:clear) to work the functionality.

Refund links will be removed from the Customer Dashboard, My Orders detail view.