Fix: Filtros ExplorarPage
This commit is contained in:
@@ -75,6 +75,12 @@ export default function ExplorarPage() {
|
||||
modelId: modelId ? Number(modelId) : undefined,
|
||||
fuel: fuel || undefined,
|
||||
transmission: transmission || undefined,
|
||||
color: searchParams.get("color") || undefined,
|
||||
location: searchParams.get("location") || undefined,
|
||||
condition: searchParams.get("condition") || undefined,
|
||||
segment: searchParams.get("segment") || undefined,
|
||||
doorCount: searchParams.get("doorCount") ? Number(searchParams.get("doorCount")) : undefined,
|
||||
steering: searchParams.get("steering") || undefined,
|
||||
});
|
||||
setListings(data);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user