Skip to content

Commit

Permalink
swap lvl0 with lvl1
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiblaga89 committed Apr 11, 2024
1 parent f94727e commit 3fd6805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theme/SearchBar.js
Expand Up @@ -90,11 +90,11 @@ export function ProductItem({ hit, components }) {

<div>
<div className="aa-ItemTitle" style={{ fontSize: '15px', fontWeight: 'bold' }}>
<components.Highlight hit={hit._highlightResult.hierarchy.lvl1} attribute="value" />
<components.Highlight hit={hit._highlightResult.hierarchy.lvl0} attribute="value" />
</div>

<div className="aa-ItemTitle" style={{ fontSize: '12px' }}>
<components.Highlight hit={hit._highlightResult.hierarchy.lvl0} attribute="value" />
<components.Highlight hit={hit._highlightResult.hierarchy.lvl1} attribute="value" />
</div>

<div className="aa-ItemContentDescription">
Expand Down

0 comments on commit 3fd6805

Please sign in to comment.