fix: correct default fuelType in useStations from 'petrol' to 'e10'
This commit is contained in:
@@ -7,7 +7,7 @@ export function useStations() {
|
|||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const error = ref(null)
|
const error = ref(null)
|
||||||
|
|
||||||
async function search({ postcode, lat, lng, fuelType = 'petrol', radius = 10, sort = 'price' }) {
|
async function search({ postcode, lat, lng, fuelType = 'e10', radius = 10, sort = 'price' }) {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
error.value = null
|
error.value = null
|
||||||
stations.value = []
|
stations.value = []
|
||||||
|
|||||||
Reference in New Issue
Block a user