Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Jun 24, 2022
1 parent fb97ff6 commit 8a910a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/render/core/app/components/Search/item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const SearchResultItem = (props) => {
props.onClick &&
props.onClick(props._id)
}

return (
<ResultWrapper onClick={handleClick}>
<Image src={props.image} preload pulseStyle={{ position: 'relative' }} />
Expand Down
28 changes: 14 additions & 14 deletions src/render/core/app/components/Search/result.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ const SearchResult = (props) => {
<PointsLoader />
</ResultsEmpty>
) ||
<CustomScrollbars
autoHide
autoHeight
autoHeightMax={500}
autoHideTimeout={1000}
autoHideDuration={200}
thumbMinSize={30}
universal
>
{
<CustomScrollbars
autoHide
autoHeight
autoHeightMax={500}
autoHideTimeout={1000}
autoHideDuration={200}
thumbMinSize={30}
universal
>
{
(props.result?.length > 0 &&
<ResultsContent>
<ResultsCollection>
Expand All @@ -85,11 +85,11 @@ const SearchResult = (props) => {
</ResultsCollection>
</ResultsContent>
) ||
<ResultsEmpty>
<NoResultsText>No results were found</NoResultsText>
</ResultsEmpty>
<ResultsEmpty>
<NoResultsText>No results were found</NoResultsText>
</ResultsEmpty>
}
</CustomScrollbars>
</CustomScrollbars>
}
</ResultsWrapper>
)
Expand Down

0 comments on commit 8a910a5

Please sign in to comment.