Skip to content

Commit

Permalink
lint format
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiramTadepalli committed Jan 3, 2025
1 parent ed65a02 commit 24dbb30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/search/SearchBar/searchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const SearchBar = ({

//change all values
function updateValue(newValue: SearchQuery[]) {
console.log("inside updateValue");
console.log('inside updateValue');
setValue(newValue);
onSelect_internal(newValue); // clicking enter to select a autocomplete suggestion triggers a new search (it also 'Enters' for the searchbar)
}
Expand All @@ -180,11 +180,11 @@ const SearchBar = ({
}
console.log(newValue);
if (typeof onSelect !== 'undefined') {
console.log("inside onselect");
console.log('inside onselect');
onSelect(newValue);
}
if (newValue.length && manageQuery === 'onSelect') {
console.log("inside updatequeries");
console.log('inside updatequeries');
updateQueries(newValue);
}
}
Expand Down

0 comments on commit 24dbb30

Please sign in to comment.