Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Slamich <[email protected]>
  • Loading branch information
alexfauquette and teolemon authored Sep 23, 2023
1 parent b004191 commit 740ee6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/logos/LogoSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function LogoSearch() {

React.useEffect(() => {
if (!filterStateHasValue) {
// Avoid fetching data is no valiue to filter
// Avoid fetching data if no value to filter
return () => {};
}
let isValidRequest = true;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/logos/ProductLogoAnnotations.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const useLogoFetching = (filter) => {
React.useEffect(() => {
const filterStateIsIncomplet = !filter.tagtype || !filter.tag;
if (filterStateIsIncomplet) {
// Avoid fetching data is no valiue to filter
// Avoid fetching data if no value to filter
return () => {};
}

Expand Down

0 comments on commit 740ee6e

Please sign in to comment.