reduce # generations to 10

This commit is contained in:
Ishaan Dey
2024-05-17 22:25:55 -07:00
parent 80547e9ae1
commit fa6a92b9b4
4 changed files with 19 additions and 22 deletions

View File

@ -529,10 +529,6 @@ export default function CodeEditor({
setFiles(response);
setDeletingFolderId("");
});
setTimeout(() => {
setDeletingFolderId("");
}, 3000);
};
if (isAwaitingConnection)

View File

@ -59,7 +59,7 @@ export default function GenerateInput({
}: {
regenerate?: boolean;
}) => {
if (user.generations >= 30) {
if (user.generations >= 10) {
toast.error(
"You reached the maximum # of generations. Contact @ishaandey_ on X/Twitter to reset :)"
);