Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
119
export
function
usePricing() {
120
return
useQuery({
121
queryKey: queryKeys.pricing,
122
queryFn: () => api.getPricing(),
123
});
124
}
125
126
export
function
useUpdatePricing() {
127
const
queryClient = useQueryClient();
Callers
1
Settings
Function · 0.90
Calls
1
getPricing
Method · 0.45
Tested by
no test coverage detected