Skip to content

Commit 0a656aa

Browse files
committed
feat(react): use regular h1 for mutli-index-hits
1 parent 051498e commit 0a656aa

File tree

1 file changed

+2
-6
lines changed
  • React InstantSearch/multi-index-hits/src

1 file changed

+2
-6
lines changed

React InstantSearch/multi-index-hits/src/App.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,13 @@ class App extends Component {
2323
<SearchBox />
2424

2525
<Index indexName="instant_search">
26-
<h2>
27-
index: <code>instant_search</code>
28-
</h2>
26+
<h2>index: instant_search</h2>
2927
<Configure hitsPerPage={8} />
3028
<Hits hitComponent={Hit} />
3129
</Index>
3230

3331
<Index indexName="bestbuy">
34-
<h2>
35-
index: <code>bestbuy</code>
36-
</h2>
32+
<h2>index: bestbuy</h2>
3733
<Configure hitsPerPage={16} />
3834
<Hits hitComponent={Hit} />
3935
</Index>

0 commit comments

Comments
 (0)