sửa l fix xcall api getTrip
This commit is contained in:
@@ -13,7 +13,7 @@ export const useTrip = create<Trip>((set) => ({
|
||||
getTrip: async () => {
|
||||
try {
|
||||
const response = await queryTrip();
|
||||
console.log("Trip fetching: ", response.data);
|
||||
console.log("Trip fetching API");
|
||||
|
||||
set({ trip: response.data, loading: false });
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user