Merge pull request #9 from LianaHus/master

style fixes
pull/7/head
Liana Husikyan 9 years ago
commit 492976ab8b
  1. 2
      src/debugger.js
  2. 6
      src/index.js
  3. 8
      src/txBrowser.js

@ -4,7 +4,7 @@ var TxBrowser = require('./txBrowser');
module.exports = React.createClass({
render: function() {
return (<div>
<p>Debugger</p>
<p><h1>Debugger</h1></p>
<TxBrowser/>
</div>
);

@ -3,9 +3,9 @@ var React = require('react');
var Web3 = require('web3');
var Web3Admin = require('./web3Admin')
web3 = new Web3();
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'));
Web3Admin.extend(web3);
web3 = new Web3();
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'));
Web3Admin.extend(web3);
var Debugger = require('./debugger');

@ -23,10 +23,10 @@ module.exports = React.createClass({
return (
<div>
<div>Trasnaction details</div>
<input onChange={this.updateBlockN} type="text" placeholder={this.state.blockNumber}></input>
<input onChange={this.updateTxN} type="text" placeholder={this.state.txNumber}></input>
<button onClick={this.submit}>Get</button>
<div><h3>Transaction details</h3></div>
<input onChange={this.updateBlockN} type="text" placeholder={this.state.blockNumber}></input>
<input onChange={this.updateTxN} type="text" placeholder={this.state.txNumber}></input>
<button onClick={this.submit}>Get</button>
</div>
);
}

Loading…
Cancel
Save