Display credits badge in Onboarding if the user is coming from Act1

This commit is contained in:
Alex Gleason committed 2025-09-29 16:00:43 -05:00
1 parent cb4cc16760
commit 7b438bae34
4 files changed
+151 -2

No files matched your search

+1 -1
View File
@@ -36,6 +36,6 @@ export function useAICredits(provider: AIProvider) {
retry: false, // Don't retry as not all providers support this endpoint
refetchOnWindowFocus: false,
staleTime: 5 * 60 * 1000, // 5 minutes
enabled: provider.id === 'shakespeare' && !!user,
enabled: !!provider.nostr && !!user,
});
}