Skip to content

Commit 8a910a5

Browse files
committed
chore: fix lint
1 parent fb97ff6 commit 8a910a5

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/render/core/app/components/Search/item.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const SearchResultItem = (props) => {
5757
props.onClick &&
5858
props.onClick(props._id)
5959
}
60-
60+
6161
return (
6262
<ResultWrapper onClick={handleClick}>
6363
<Image src={props.image} preload pulseStyle={{ position: 'relative' }} />

src/render/core/app/components/Search/result.jsx

+14-14
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ const SearchResult = (props) => {
5656
<PointsLoader />
5757
</ResultsEmpty>
5858
) ||
59-
<CustomScrollbars
60-
autoHide
61-
autoHeight
62-
autoHeightMax={500}
63-
autoHideTimeout={1000}
64-
autoHideDuration={200}
65-
thumbMinSize={30}
66-
universal
67-
>
68-
{
59+
<CustomScrollbars
60+
autoHide
61+
autoHeight
62+
autoHeightMax={500}
63+
autoHideTimeout={1000}
64+
autoHideDuration={200}
65+
thumbMinSize={30}
66+
universal
67+
>
68+
{
6969
(props.result?.length > 0 &&
7070
<ResultsContent>
7171
<ResultsCollection>
@@ -85,11 +85,11 @@ const SearchResult = (props) => {
8585
</ResultsCollection>
8686
</ResultsContent>
8787
) ||
88-
<ResultsEmpty>
89-
<NoResultsText>No results were found</NoResultsText>
90-
</ResultsEmpty>
88+
<ResultsEmpty>
89+
<NoResultsText>No results were found</NoResultsText>
90+
</ResultsEmpty>
9191
}
92-
</CustomScrollbars>
92+
</CustomScrollbars>
9393
}
9494
</ResultsWrapper>
9595
)

0 commit comments

Comments
 (0)