janvi01 / sql-editor

A web-based application that provides a SQL editor to run queries and display results.
https://sql-editor-online.vercel.app/
MIT License
9 stars 17 forks source link

Results are not displayed when user runs the query 2nd time. #28

Closed Tajinder-Dhoot closed 10 months ago

Tajinder-Dhoot commented 10 months ago

Describe the bug When user runs the query 1st time, the results are displayed. But when user runs the query 2nd time, the results are not displayed and loader keeps spinning.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://sql-editor-i8d6w7vvc-janvi01.vercel.app/'
  2. Click on 'Run Query' button > Results would be displayed.
  3. Click on 'Run Query' button again > This time, results are not displayed, but loader keeps spinning.

Expected behavior Results should be displayed every time the query is run by user.

Screenshots When user runs the query 1st time. image

When user runs the query 2nd time. image

Desktop

OS: Windows 10 Browse: Chrome, Edge, Mozilla Chrome Version [118.0.5993.89] Screen width: bug is reproducible when screen width > 1428px

janvi01 commented 10 months ago

Hey @Tajinder-Dhoot Thanks for opening the issue. Do you want to work on this?

Tajinder-Dhoot commented 10 months ago

Yes, I would like to - @janvi01

Hey @Tajinder-Dhoot Thanks for opening the issue. Do you want to work on this?

Tajinder-Dhoot commented 10 months ago

@janvi01 - can you please assign this to me?

janvi01 commented 10 months ago

assigned @Tajinder-Dhoot feel free to drop in any doubts.