init project portal web
This commit is contained in:
8
lib/price-plan-detail/queries/index.ts
Normal file
8
lib/price-plan-detail/queries/index.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { useQuery } from "@tanstack/react-query"
|
||||
import { pricePlanDetailRepository } from "../data/repository"
|
||||
|
||||
export const useUsageEventQuery = () =>
|
||||
useQuery({
|
||||
queryKey: ["usage-event-list"],
|
||||
queryFn: () => pricePlanDetailRepository.getUsageEventList(),
|
||||
})
|
||||
Reference in New Issue
Block a user