Skip to content

Commit

Permalink
Fixed syntax on components using Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo1307 committed Dec 1, 2023
1 parent 822ae85 commit fd1f9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/components/Search/Result/SearchResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ export default function SearchResults() {
endMessage={noResultsComponent}
>
<div className="flex flex-col space-y-8">
{searchData && (
{searchData &&
searchData.map((recipe, index) => (
<SearchResultItem
key={"SearchResultItem_" + index}
recipe={recipe}
/>
))
)}
))}
</div>
</InfiniteScroll>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/Search/SearchBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import PropTypes from "prop-types";

export default function SearchBar({ query }) {

const [localSearchQuery, setLocalSearchQuery] = useState(query);
const [shouldReFetch, setShouldReFetch] = useState(true);

Expand Down

0 comments on commit fd1f9c2

Please sign in to comment.