Skip to content

Commit

Permalink
show error modal for cashout
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanBread committed Jan 14, 2025
1 parent dd066bd commit ac7f126
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/compositions/modals/CashoutModal/CashoutModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ const CashoutModal: ModalComponent<CashoutModalProps> = (props) => {
closeModal()
},
onError: (err) => {
console.log(err, 'err')
closeModal()
openModal('ErrorModal', {
title: 'Bet not available to cashout',
})
},
})

Expand Down

0 comments on commit ac7f126

Please sign in to comment.