Skip to content

Commit

Permalink
No items found search text
Browse files Browse the repository at this point in the history
  • Loading branch information
tlovett1 committed Feb 15, 2021
1 parent 62afc6f commit dc71c1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions components/ContentSearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ const ContentSearch = ({ onSelectItem, placeholder, label, contentTypes, mode, e
>
{isLoading && <Spinner />}
{!isLoading && !hasSearchResults && (
<li className={`${NAMESPACE}-grid-item`}>
<Button disabled>
{__('No Items found', '10up-block-components')}
</Button>
<li className={`${NAMESPACE}-grid-item components-button`} style={{color: 'inherit', cursor: 'default', paddingLeft: '3px'}}>
{__('Nothing found.', '10up-block-components')}
</li>
)}
{searchResults.map((item, index) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.1.1",
"version": "1.1.2",
"description": "10up Components built for the WordPress Block Editor.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit dc71c1d

Please sign in to comment.