Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add info about usage in February 2024

Jakub Novakcc0badcd0073
diff --git a/apps/docs/src/app/usage/Credits.tsx b/apps/docs/src/app/usage/Credits.tsx
index cf46098dc..5de244a12 100644
--- a/apps/docs/src/app/usage/Credits.tsx
+++ b/apps/docs/src/app/usage/Credits.tsx
@@ -51,6 +51,7 @@ function Credits() {
<React.Fragment key={index}>
<h3 className="text-xl">
{new Date(u.year, u.month - 1).toLocaleDateString('en-US', { month: 'long', year: 'numeric' })}
+ {u.year === 2024 && u.month === 2 ? ' (calculated from the 21st onwards)' : ''}
</h3>
<div className="flex flex-col justify-start items-start gap-4">
diff --git a/apps/docs/src/utils/useUser.tsx b/apps/docs/src/utils/useUser.tsx
index f319fe34c..f5eb21574 100644
--- a/apps/docs/src/utils/useUser.tsx
+++ b/apps/docs/src/utils/useUser.tsx
@@ -108,7 +108,7 @@ export const CustomUserContextProvider = (props) => {
.from('users_teams')
.select('teams (id, name, is_default, tier, email, team_billing (credit_card_added))')
.eq('user_id', session?.user.id) // Due to RLS, we could also safely just fetch all, but let's be explicit for sure
- console.log('>>>>>>>>>>>>>>>>>>>> userTeams', userTeams)
+
if (teamsError) Sentry.captureException(teamsError)
// TODO: Adjust when user can be part of multiple teams
// @ts-ignore