Add a line on UI to make search results obvious

This commit is contained in:
Tanner Collin 2020-08-14 03:58:11 +00:00
parent 6576eb1bac
commit c554ecd890

View File

@ -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>
}