Mauricio Araujo %!s(int64=2) %!d(string=hai) anos
pai
achega
26d90f2aa2
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      dashboard/src/lib/hooks/useStripe.tsx

+ 5 - 2
dashboard/src/lib/hooks/useStripe.tsx

@@ -313,10 +313,13 @@ export const useCustomerPlan = (): TGetPlan => {
   };
   };
 };
 };
 
 
-export const useCustomerUsage = (windowSize: string, currentPeriod: boolean): TGetUsage => {
+export const useCustomerUsage = (
+  windowSize: string,
+  currentPeriod: boolean
+): TGetUsage => {
   const { currentProject } = useContext(Context);
   const { currentProject } = useContext(Context);
 
 
-  // Fetch current plan
+  // Fetch customer usage
   const usageReq = useQuery(
   const usageReq = useQuery(
     ["listCustomerUsage", currentProject?.id],
     ["listCustomerUsage", currentProject?.id],
     async () => {
     async () => {