Describe the bug
The only thing stopping the users from bidding after the timer runs out is the disabling of the bid button. This means that if the bid popup is already open when the timer runs out then the user can bid after the auction is complete and guarantee that they win.
To Reproduce
Steps to reproduce the behavior:
Click on Bid Now.
Wait for auction timer to run out.
Place bid.
Expected behavior
Users should now be able to bid after the auction is completed.
Potential solutions
Also disable the submit button when the timer runs out.
Set up a Firebase rule to disallow writing to the database for completed auctions (this would be very tricky for the auction-live collection in the database).
Describe the bug The only thing stopping the users from bidding after the timer runs out is the disabling of the bid button. This means that if the bid popup is already open when the timer runs out then the user can bid after the auction is complete and guarantee that they win.
To Reproduce Steps to reproduce the behavior:
Bid Now
.Expected behavior Users should now be able to bid after the auction is completed.
Potential solutions
auction-live
collection in the database).