Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Sort the months on the billing page

Jakub Novak88b4d59824a6
diff --git a/apps/docs/src/app/pricing/SwitchToProButton.tsx b/apps/docs/src/app/pricing/SwitchToProButton.tsx
index 0c9de76f4..1883a7563 100644
--- a/apps/docs/src/app/pricing/SwitchToProButton.tsx
+++ b/apps/docs/src/app/pricing/SwitchToProButton.tsx
@@ -71,8 +71,6 @@ function SwitchTierButton() {
<TierActiveTag />
)}
-
-
{user.pricingTier.id !== tiers.pro.id && (
<Button
onClick={createCheckoutSession}
diff --git a/apps/docs/src/app/usage/Credits.tsx b/apps/docs/src/app/usage/Credits.tsx
index 6caad80d9..51024237a 100644
--- a/apps/docs/src/app/usage/Credits.tsx
+++ b/apps/docs/src/app/usage/Credits.tsx
@@ -47,7 +47,7 @@ function Credits() {
</div>
<div className="flex flex-col justify-start items-start gap-1">
- {usage.map((u, index) => (
+ {usage.reverse().map((u, index) => (
<React.Fragment key={index}>
<h3 className="text-xl">
{new Date(u.year, u.month - 1).toLocaleDateString('en-US', { month: 'long', year: 'numeric' })}
@@ -73,4 +73,4 @@ function Credits() {
)
}
-export default Credits
\ No newline at end of file
+export default Credits