@@ -4,7 +4,7 @@ import React from 'react'
4import { Code, H3 } from './Base'
4import { Code, H3 } from './Base'
5import { Button } from './Base'
5import { Button } from './Base'
6import { CheckboxButton, Input, InnerLabel,
6import { CheckboxButton, Input, InnerLabel,
7− InnerLabelDropdown, DropdownItem } from './Base'
7+ InnerLabelDropdown } from './Base'
8import { Warning } from '../components/Base'
8import { Warning } from '../components/Base'
10import { addressFromSecp256k1Public } from '../lib/wallet'
10import { addressFromSecp256k1Public } from '../lib/wallet'
@@ -29,7 +29,6 @@ class StatelessTransaction extends React.Component {
29 showGasDetails: false,
29 showGasDetails: false,
30 userApproval: false,
30 userApproval: false,
31 chainId: '',
31 chainId: '',
32− chainDropdownOpen: false,
33 customChain: false,
32 customChain: false,
34 nonce: '',
33 nonce: '',
35 stx: Nothing(),
34 stx: Nothing(),
@@ -245,11 +244,10 @@ class StatelessTransaction extends React.Component {
245 const { web3, canGenerate } = this.props
244 const { web3, canGenerate } = this.props
246 const { gasPrice, gasLimit, nonce, chainId,
245 const { gasPrice, gasLimit, nonce, chainId,
247 txn, stx, userApproval, showGasDetails,
246 txn, stx, userApproval, showGasDetails,
248− customChain, chainDropdownOpen } = this.state
247+ customChain } = this.state
250− const { setNonce, setChainId, setGasLimit, setGasPrice,
249+ const { setNonce, setChainId, setGasLimit, setGasPrice, toggleGasDetails,
251− toggleGasDetails, setUserApproval, sendTxn, createUnsignedTxn,
250+ setUserApproval, sendTxn, createUnsignedTxn, handleChainUpdate } = this
252− selectChain, handleChainUpdate } = this
254 const { state } = this
252 const { state } = this