Skip to content

Commit

Permalink
warning corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
akankshagoel28 committed Oct 10, 2024
1 parent a6f0343 commit af0f9fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Pages/BookTicket.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const BookTicket = () => {
<div className={showPopUp ? 'checkout-card' : 'hide-element'}>
<div className='flex justify-between'>
<div className="checkout-card-title">Booking Summary</div>
<img src={closeIcon} className='icon' onClick={() => setShowPopUp(false)} />
<img alt="" src={closeIcon} className='icon' onClick={() => setShowPopUp(false)} />
</div>
<div className="text-key-value">
<span>Ticket Price ( x 1 Ticket)</span>
Expand All @@ -199,7 +199,7 @@ const BookTicket = () => {
<span>Remaining Balance</span>
<span className="values">{userData.wallet - seatList.length * ticketPrice}</span>
</div>
<img src={loader_icon} className={isLoading ? 'loader' : 'hide-element'} />
<img alt="" src={loader_icon} className={isLoading ? 'loader' : 'hide-element'} />
<button style={{ fontSize: '15px', margin: '5px 0px 20px calc((100% - 10rem)/2)' }} onClick={handlePayment} className='btn-primary'>
Make Payment
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const Home = () => {
</style>
<div className="faux-image-wrapper">
<div className="faux-image">
<img src={posterPath}
<img alt="" src={posterPath}
onLoad={handleImageLoad} />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/MovieTicket.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function MovieTicket() {
<h4>Seat: {ticketData.bookedSeats.join(', ')}</h4>
<hr />
<h4>Time: {ticketData.movieTiming}</h4>
<img
<img alt=""
src={qrCode}
style={{ width: "8rem", height: "6rem", marginBottom: "0.5rem" }}
></img>
Expand Down

0 comments on commit af0f9fd

Please sign in to comment.