mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Display credits badge in Onboarding if the user is coming from Act1
This commit is contained in:
4 files changed
+151
-2
No files matched your search
@@ -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,
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user