Skip to content

Commit

Permalink
fix (search): Remove search template (#30)
Browse files Browse the repository at this point in the history
Removed duplicate template value. Search template is already being set by ifconfig.
  • Loading branch information
ah-net authored Apr 12, 2024
1 parent b130167 commit fc9c093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/frontend/layout/hyva_default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<remove src="Tweakwise_Magento2Tweakwise::css/style.css"/>
</head>
<body>
<referenceBlock name="header-search" template="Tweakwise_Magento2Tweakwise::html/header/search-form.phtml">
<referenceBlock name="header-search">
<action method="setTemplate" ifconfig="tweakwise/autocomplete/enabled">
<argument name="template" xsi:type="string">Tweakwise_Magento2Tweakwise::html/header/search-form.phtml</argument>
</action>
Expand Down

0 comments on commit fc9c093

Please sign in to comment.