Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add missing dep
Vasek Mlejnskybb0ba6d72ee6
diff --git a/apps/docs/src/utils/useUsage.tsx b/apps/docs/src/utils/useUsage.tsxindex 1d5a2eaa5..8b11bdc9f 100644--- a/apps/docs/src/utils/useUsage.tsx+++ b/apps/docs/src/utils/useUsage.tsx@@ -50,32 +50,10 @@ export function useUsage() {}).then(res => res.json()),])- // TODO: Fetch from API serversetCredits(c)setUsage(u)setIsLoading(false)- // setCosts([- // {- // month: 2,- // year: 2024,- // total_costs: 23.85,- // unpaid_costs: 23.85,- // },- // {- // month: 1,- // year: 2024,- // total_costs: 232,- // unpaid_costs: 0,- // },- // {- // month: 12,- // year: 2023,- // total_costs: 32.221,- // unpaid_costs: 0,- // },- // ])-- }, [user, supabase])+ }, [user, supabase, apiKey])useEffect(function () {fetchCredits()