Skip to content

Commit

Permalink
- pass layout to result type templates as a prop
Browse files Browse the repository at this point in the history
  • Loading branch information
reebalazs committed Feb 22, 2024
1 parent b20386c commit 136ab5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/theme/SolrSearch/SolrSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ class SolrSearch extends Component {
{createElement(resultTypeMapper(item['@type']), {
key: item['@id'],
item,
layout: this.state.layout,
})}
</div>
))}
Expand Down

0 comments on commit 136ab5f

Please sign in to comment.