keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

chore: Clearing email field after waitlisting the user email

Open bansal-harsh-2504 opened this issue 4 months ago • 2 comments

User description

Description

Now if the user email gets waitlisted then the email field will be cleared for better user experience.

Fixes #474

Mentions

@rajdip-b

Developer's checklist

  • [ ] My PR follows the style guidelines of this project
  • [ ] I have performed a self-check on my work

If changes are made in the code:

  • [ ] I have followed the coding guidelines
  • [ ] My changes in code generate no new warnings

Documentation Update

  • [ ] No documentation changes are required.

PR Type

enhancement


Description

  • Fixed a typo in the error message displayed when the email field is empty.
  • Enhanced user experience by clearing the email input field after the email is successfully waitlisted.

Changes walkthrough 📝

Relevant files
Enhancement
index.tsx
Improve user experience by clearing email field post-waitlisting

apps/web/src/components/hero/index.tsx

  • Fixed a typo in the error message for empty email input.
  • Added functionality to clear the email field after successful
    waitlisting.
  • +3/-1     

    💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

    bansal-harsh-2504 avatar Oct 07 '24 14:10 bansal-harsh-2504