Skip to content

Commit

Permalink
Update cooldown timer to 90 seconds in BioGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanghaffar committed May 26, 2024
1 parent 4399522 commit 5377bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const BioGenerator = () => {
setLoading(true);
setIsCooldown(true);

setCooldownTimer(20);
setCooldownTimer(90);

try {
const messages = `Generate 2 ${vibe} biographies with no hashtags, in Persian language. ${
Expand Down Expand Up @@ -112,7 +112,7 @@ const BioGenerator = () => {
});
} finally {
setLoading(false);
setCooldownTimer(10);
setCooldownTimer(90);
}
};

Expand Down

0 comments on commit 5377bb4

Please sign in to comment.