Skip to content

Commit

Permalink
APP-424 re-set Search on Mount of Marketlisting Page
Browse files Browse the repository at this point in the history
  • Loading branch information
codeho committed Jul 19, 2023
1 parent b368b4a commit 799808e
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 799808e

Please sign in to comment.