Skip to content

Commit

Permalink
Merge pull request #367 from CirclesUBI/feature/app-424-bug-in-market…
Browse files Browse the repository at this point in the history
…listing-related-to-search2

APP-424 re-set Search on Mount of Marketlisting Page
  • Loading branch information
codeho authored Jul 19, 2023
2 parents 5c68819 + 799808e commit e2ff960
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ let geoLocationOptions = {
let ownLocation: GeolocationPosition = null;
let searchString: string = "";
onMount(() => {
marketStore.resetSearch();
});
onMount(async () => {
if (geolocation) {
marketStore.init(geolocation);
Expand Down

0 comments on commit e2ff960

Please sign in to comment.