fix: update paramsMapping keys for clarity and consistency
This commit is contained in:
parent
ab3b109652
commit
6399bda689
1 changed files with 7 additions and 7 deletions
|
|
@ -31,13 +31,13 @@ type RicercaUrlParams = {
|
|||
};
|
||||
|
||||
export const paramsMapping = {
|
||||
map: "m",
|
||||
tipo: "t",
|
||||
comune: "c",
|
||||
consegna: "f",
|
||||
minBudget: "bmin",
|
||||
maxBudget: "bmax",
|
||||
sort: "s",
|
||||
map: "map",
|
||||
tipo: "tipo",
|
||||
comune: "comune",
|
||||
consegna: "consegna",
|
||||
minBudget: "budget_min",
|
||||
maxBudget: "budget_max",
|
||||
sort: "sort",
|
||||
} as const;
|
||||
|
||||
export const buildRicercaUrl = (params: Partial<RicercaUrlParams>): string => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue