ankit071105 / Ticket-Booking

A website for bussiness purposes
https://ticket-booking-blue.vercel.app
71 stars 218 forks source link

fix: message input field not clearing #1091

Closed SWITCHin2 closed 1 week ago

SWITCHin2 commented 2 weeks ago

What does this PR do?

This PR fixes the an bug where typically input field in the chat box must be empty as soon as message is sent, but as the function is async and the clear statement was written at last the input field was clearing after some time, changed the orde, now as soon as the user message is displayed it will clear out the input field. Fixes #(issue)

1038

https://github.com/user-attachments/assets/85f1597b-dd39-455c-a14a-23e6b54d0f22

Type of change

Mandatory Tasks

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ticket-booking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 3:48am
SWITCHin2 commented 1 week ago

@ankit071105 is this PR well and good to merge? If yes can you please merge it as tommorow is the last day of the gssoc-ext.

SWITCHin2 commented 1 week ago

@ankit071105 can you please merge?