@@ -15,6 +15,11 @@ const StatelessTransaction = props => {
15 const { setUserApproval, userApproval } = props
15 const { setUserApproval, userApproval } = props
16 const { canSend, handleSubmit } = props
16 const { canSend, handleSubmit } = props
18+ const sendTxn = (e) => {
19+ e.target.setAttribute("disabled", true);
18 const generateButtonColor =
23 const generateButtonColor =
19 Nothing.hasInstance(txn)
24 Nothing.hasInstance(txn)
@@ -150,7 +155,7 @@ const StatelessTransaction = props => {
150 prop-size={ 'xl wide' }
155 prop-size={ 'xl wide' }
151 className={ 'mt-8' }
156 className={ 'mt-8' }
152 disabled={ !canSend }
157 disabled={ !canSend }
153− onClick={ handleSubmit }
158+ onClick={ sendTxn }
155 { 'Send Transaction' }
160 { 'Send Transaction' }
156 </Button>
161 </Button>