Skip to content

Commit

Permalink
fix: update default values for query parameters in StartMappingPage
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Feb 12, 2025
1 parent 9b977a0 commit 48d4903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/routes/start-mapping.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ export const StartMappingPage = () => {
const [query, setQuery] = useState<TQueryParams>(() => {
return {
[SEARCH_PARAMS.useJOSMQ]:
searchParams.get(SEARCH_PARAMS.useJOSMQ) || true,
searchParams.get(SEARCH_PARAMS.useJOSMQ) || false,
[SEARCH_PARAMS.confidenceLevel]:
searchParams.get(SEARCH_PARAMS.confidenceLevel) || 90,
[SEARCH_PARAMS.tolerance]:
searchParams.get(SEARCH_PARAMS.tolerance) || 1.0,
searchParams.get(SEARCH_PARAMS.tolerance) || 0.5,
[SEARCH_PARAMS.area]: searchParams.get(SEARCH_PARAMS.area) || 4,
};
});
Expand Down

0 comments on commit 48d4903

Please sign in to comment.