Skip to content

Commit

Permalink
Accommodating review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Snehal Sonawane committed Sep 9, 2024
1 parent 24a93a0 commit 3494fbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libs/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,10 @@ class Gnav {
analyticsValue: 'Logo',
});

decorateClientSearch = () => toFragment`<div class="feds-client-search"></div>`;
// eslint-disable-next-line class-methods-use-this
decorateClientSearch() {
return toFragment`<div class="feds-client-search"></div>`;
}

decorateMainNav = async () => {
const breadcrumbs = isDesktop.matches ? '' : await this.decorateBreadcrumbs();
Expand All @@ -824,7 +827,7 @@ class Gnav {
${isDesktop.matches ? '' : this.decorateSearch()}
${this.elements.mainNav}
${isDesktop.matches ? this.decorateSearch() : ''}
${getConfig().searchEnabled === 'on' ? this.decorateClientSearch() : ''}
${this.decorateClientSearch()}
</div>
`;

Expand Down

0 comments on commit 3494fbd

Please sign in to comment.