Skip to content

Commit c2b7cb4

Browse files
committed
consider 10_000 links as mega workspace
1 parent 4348997 commit c2b7cb4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/plan-usage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default function PlanUsage() {
108108
requiresUpgrade: plan === "free" || plan === "pro",
109109
},
110110
];
111-
if (totalLinks && totalLinks > 100_000) {
111+
if (totalLinks && totalLinks > 10_000) {
112112
// Find the links tab and move it to the first position
113113
const linksTabIndex = tabs.findIndex((tab) => tab.id === "links");
114114
if (linksTabIndex !== -1) {
@@ -268,7 +268,7 @@ function UsageTabCard({
268268
const { slug, totalLinks } = useWorkspace();
269269

270270
const defaultActiveTab = useMemo(() => {
271-
if (totalLinks && totalLinks > 100_000) {
271+
if (totalLinks && totalLinks > 10_000) {
272272
return "links";
273273
}
274274
return "events";

apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/billing/usage-chart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function UsageChart() {
3636
const { totalLinks } = useWorkspace();
3737

3838
const defaultActiveTab = useMemo(() => {
39-
if (totalLinks && totalLinks > 100_000) {
39+
if (totalLinks && totalLinks > 10_000) {
4040
return "links";
4141
}
4242
return "events";

0 commit comments

Comments
 (0)