This commit is contained in:
Joshen Lim committed 2023-07-10 14:25:55 +08:00
1 parent 74a85175d3
commit 363f682a5d
1 file changed
+3 -1
@@ -38,7 +38,9 @@ const Usage = () => {
setSelectedProjectRef(projectRef)
}
}
}, [projectRef, isSuccess, orgProjects])
// [Joshen] Since we're already looking at isSuccess
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [projectRef, isSuccess])
const billingCycleStart = dayjs.unix(subscription?.current_period_start ?? 0).utc()
const billingCycleEnd = dayjs.unix(subscription?.current_period_end ?? 0).utc()