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

disable message send button when the message is empty #169

Closed
wants to merge 1 commit into from
Closed

disable message send button when the message is empty #169

wants to merge 1 commit into from

Conversation

SuperSahitya
Copy link
Contributor

This pull request implements disabling of the send message button when the message is empty.

closes #110

Copy link

vercel bot commented Jun 3, 2024

@SuperSahitya is attempting to deploy a commit to the Alogovengers' projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Awesome work, @SuperSahitya! 🎉 Thank you for your contribution and efforts to enhance Hairify.

We will review your changes soon and provide feedback.

Please ensure that you have followed the contributing guidelines for a smooth review process.

Comment on lines +327 to +328
const [inputValue, setInputValue] = useState("");

Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need this extra state? We can handle this with message state.

@SuperSahitya SuperSahitya closed this by deleting the head repository Jun 21, 2024
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.

Disable message send button when the message is empty
2 participants