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);
 
-  // Fetch current plan
+  // Fetch customer usage
   const usageReq = useQuery(
     ["listCustomerUsage", currentProject?.id],
     async () => {