Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: include business plan in past-due subscription check

Gabriel Steinbf64f3a7ab76
diff --git a/src/hooks/useUsage.ts b/src/hooks/useUsage.ts
index bf0cd363b..28a5db9f9 100644
--- a/src/hooks/useUsage.ts
+++ b/src/hooks/useUsage.ts
@@ -175,7 +175,7 @@ export function useUsage(): UseUsageResult | null {
const limit = data?.limit ?? 2000;
const isSubscribed = data?.isSubscribed ?? false;
const status = data?.status ?? "active";
- const isPastDue = data?.plan === "pro" && status === "past_due";
+ const isPastDue = (data?.plan === "pro" || data?.plan === "business") && status === "past_due";
const isOverLimit = !isSubscribed && limit > 0 && wordsUsed >= limit;
const isApproachingLimit = !isSubscribed && limit > 0 && wordsUsed >= limit * 0.8 && !isOverLimit;