@@ -15,8 +15,10 @@ const StatelessTransaction = props => {
15 const { setUserApproval, userApproval } = props
15 const { setUserApproval, userApproval } = props
16 const { canSend, handleSubmit } = props
16 const { canSend, handleSubmit } = props
18− // setState doesn't seem to work in SetProxy/handleSubmit, so just
19+ // setState doesn't seem to work in SetProxy/handleSubmit;
20+ // - TypeError: Cannot read property 'updater' of undefined
19− // modifying the DOM manually here. (https://imgur.com/a/i0Qsyq1)
21+ // so just modifying the DOM manually here. (https://imgur.com/a/i0Qsyq1)
21 const sendTxn = (e) => {
23 const sendTxn = (e) => {
22 e.target.setAttribute("disabled", true);
24 e.target.setAttribute("disabled", true);