Fix destructured param in checkTicket

This commit is contained in:
finned-palmer 2021-07-10 07:21:52 -05:00 committed by ixv
parent 3b03f6ba59
commit 696912228e

View File

@ -24,11 +24,7 @@ const WalletModal = () => {
const [confirmingMasterTicket, setConfirmingMasterTicket] = useState(false);
const [error, setError] = useState(false);
const checkTicket = ({
event: {
target: { value },
},
}) => {
const checkTicket = ({ target: { value } }) => {
// TODO: port over bridge ticket validation logic
if (confirmingMasterTicket) {
setConfirmedMasterTicket(value);