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>
|
||||
{error && <p>Connection error?</p>}
|
||||
{stories ?
|
||||
<div>
|
||||
<>
|
||||
<p>Search results:</p>
|
||||
<div className='comment lined'>
|
||||
{stories.length ?
|
||||
stories.map((x, i) =>
|
||||
<div className='item' key={i}>
|
||||
|
@ -78,9 +80,10 @@ class Results extends React.Component {
|
|||
</div>
|
||||
)
|
||||
:
|
||||
<p>no results</p>
|
||||
<p>none</p>
|
||||
}
|
||||
</div>
|
||||
</>
|
||||
:
|
||||
<p>loading...</p>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user