MCPcopy Create free account
hub / github.com/astercloud/aster / usePricing

Function usePricing

studio/src/hooks/useApi.ts:119–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117
118// Pricing
119export function usePricing() {
120 return useQuery({
121 queryKey: queryKeys.pricing,
122 queryFn: () => api.getPricing(),
123 });
124}
125
126export function useUpdatePricing() {
127 const queryClient = useQueryClient();

Callers 1

SettingsFunction · 0.90

Calls 1

getPricingMethod · 0.45

Tested by

no test coverage detected