Mauricio Araujo преди 2 години
родител
ревизия
26d90f2aa2
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  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 () => {