Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: implemented client side rate limiting #1063

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NotIshi28
Copy link
Member

So I had seen quite a few people who added their project twice by clicking on submit twice, so implemented client side rate-limiting.

I have not tested this yet as I don't have the env, so just test it once

Copy link

vercel bot commented Jan 3, 2025

@NotIshi28 is attempting to deploy a commit to the Hack Club Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@Gitstar-OC Gitstar-OC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, although you could have done it using a single useState hook rather than 2 (as both the hooks are being used for ratelimiting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants