diff --git a/frontend/components/editor/generate.tsx b/frontend/components/editor/generate.tsx index bfa7662..b1a60c9 100644 --- a/frontend/components/editor/generate.tsx +++ b/frontend/components/editor/generate.tsx @@ -59,7 +59,7 @@ export default function GenerateInput({ }: { regenerate?: boolean }) => { - if (user.generations >= 10) { + if (user.generations >= 1000) { toast.error("You reached the maximum # of generations.") return } diff --git a/frontend/components/ui/userButton.tsx b/frontend/components/ui/userButton.tsx index a7bd392..3391dc9 100644 --- a/frontend/components/ui/userButton.tsx +++ b/frontend/components/ui/userButton.tsx @@ -42,13 +42,13 @@ export default function UserButton({ userData }: { userData: User }) {
- AI Usage: {userData.generations}/10 + AI Usage: {userData.generations}/1000