File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,14 @@ body {
3030 margin : 0 auto;
3131}
3232
33- .ais-Hits-item {
33+ .ais-Hits-item ,
34+ .ais-InfiniteHits-item {
3435 margin-bottom : 1em ;
3536 width : calc (50% - 1rem );
3637}
3738
38- .ais-Hits-item img {
39+ .ais-Hits-item img ,
40+ .ais-InfiniteHits-item img {
3941 margin-right : 1em ;
4042 width : 100% ;
4143 height : 100% ;
Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ import 'instantsearch.css/themes/algolia-min.css'
22import React , { Component } from 'react'
33import {
44 InstantSearch ,
5- Hits ,
5+ InfiniteHits ,
66 SearchBox ,
7- Pagination ,
87 Stats ,
98 Highlight ,
109 ClearRefinements ,
@@ -57,8 +56,7 @@ class App extends Component {
5756 </ div >
5857 < div className = "right-panel" >
5958 < SearchBox />
60- < Hits hitComponent = { Hit } />
61- < Pagination showLast = { true } />
59+ < InfiniteHits hitComponent = { Hit } />
6260 </ div >
6361 </ InstantSearch >
6462 </ div >
You can’t perform that action at this time.
0 commit comments