Skip to content

Commit

Permalink
Merge branch 'main' of github.com:MarcusT96/MysteryIncAuctions into t…
Browse files Browse the repository at this point in the history
…est/users
  • Loading branch information
PontusPilatus committed May 16, 2024
2 parents a11b5fa + bc83755 commit 1b37143
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Client/src/components/PaymentOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ function PaymentOptions() {
setIsOpen(true)
}

function afterOpenModal() {
subtitle.style.color = '#f00'
}

function closeModal() {
console.log("Closing modal...")
setIsOpen(false)
Expand Down Expand Up @@ -112,7 +108,6 @@ function PaymentOptions() {
<button className='paymentopt-addpay' onClick={openModal}>Lägg till betalningsalternativ</button>

<Modal isOpen={modalIsOpen}
onAfterOpen={afterOpenModal}
onRequestClose={closeModal}
style={customStyles}
contentLabel="paymentopt-add">
Expand Down

0 comments on commit 1b37143

Please sign in to comment.