on master help sign in
fix: wrap Maybe stx in Just()
commitfc27a5c9ef11d74f8873b6d0b7a67ce0de7391b7 authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateWed 17 Jul 2019, 15:28 (7 years ago) parent363a711
1 file changed+8−6
src/components/old/StatelessTransaction.js+8−6
src/components/old/StatelessTransaction.js+8−6
@@ -494,12 +494,14 @@ class StatelessTransaction extends React.Component {
494494 prop-color={signerButtonColor}
495495 onClick={async () =>
496496 this.setStx(
497− await signTransaction({
498− ...this.props,
499− ...this.state,
500− wallet: this.props.wallet.value,
501− txn: txn.value,
502− })
497+ Just(
498+ await signTransaction({
499+ ...this.props,
500+ ...this.state,
501+ wallet: this.props.wallet.value,
502+ txn: txn.value,
503+ })
504+ )
503505 )
504506 }>
505507 {'Sign Transaction'}