mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-01 19:46:36 +03:00
Fix destructured param in checkTicket
This commit is contained in:
parent
3b03f6ba59
commit
696912228e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user