Add a line on UI to make search results obvious
This commit is contained in:
parent
6576eb1bac
commit
c554ecd890
|
@ -60,7 +60,9 @@ class Results extends React.Component {
|
||||||
</Helmet>
|
</Helmet>
|
||||||
{error && <p>Connection error?</p>}
|
{error && <p>Connection error?</p>}
|
||||||
{stories ?
|
{stories ?
|
||||||
<div>
|
<>
|
||||||
|
<p>Search results:</p>
|
||||||
|
<div className='comment lined'>
|
||||||
{stories.length ?
|
{stories.length ?
|
||||||
stories.map((x, i) =>
|
stories.map((x, i) =>
|
||||||
<div className='item' key={i}>
|
<div className='item' key={i}>
|
||||||
|
@ -78,9 +80,10 @@ class Results extends React.Component {
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
<p>no results</p>
|
<p>none</p>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
:
|
:
|
||||||
<p>loading...</p>
|
<p>loading...</p>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user