pay flow: initial commit

This commit is contained in:
2025-12-03 01:31:30 +03:00
parent 359d7820dd
commit c43708be6d
12 changed files with 148 additions and 17 deletions

View File

@@ -31,9 +31,7 @@ export const branchApi = baseApi.injectEndpoints({
},
}),
transformResponse: (response: any) => {
return response?.result?.restaurants?.find(
(restaurant: RestaurantDetails) => restaurant.distance === 595,
);
return response?.result?.restaurants?.[0]
},
providesTags: ["Restaurant"],
}),