minor fix
This commit is contained in:
parent
5fb0ee5511
commit
2ed7cb98b8
@ -28,7 +28,7 @@ export function useTariffs({ url, tariffsPerPage, apiPage, onNewTariffs, onError
|
|||||||
setFetchState("idle");
|
setFetchState("idle");
|
||||||
} else setFetchState("all fetched");
|
} else setFetchState("all fetched");
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.log("Error fetching tariffs", error);
|
devlog("Error fetching tariffs", error);
|
||||||
onError(error);
|
onError(error);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user