mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
cleaned up console logs
This commit is contained in:
parent
5804bd113f
commit
1b5ee8a1f1
3 changed files with 0 additions and 4 deletions
|
|
@ -5,7 +5,6 @@ class DetailTransactionTable extends Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
let data = this.props.data
|
let data = this.props.data
|
||||||
console.log(data)
|
|
||||||
let combinedClasses = ['responsive-table', classes.table];
|
let combinedClasses = ['responsive-table', classes.table];
|
||||||
return (
|
return (
|
||||||
<table className={combinedClasses.join(' ')}>
|
<table className={combinedClasses.join(' ')}>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ import arrow from '../../assets/arrow_right.png';
|
||||||
import { Link } from 'react-router-dom'
|
import { Link } from 'react-router-dom'
|
||||||
|
|
||||||
const TransactionTable = (props) => {
|
const TransactionTable = (props) => {
|
||||||
console.log(props)
|
|
||||||
return (
|
return (
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,8 @@ class App extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
detailTransactionHandler = async(txHash) => {
|
detailTransactionHandler = async(txHash) => {
|
||||||
console.log("THIS RAN")
|
|
||||||
try {
|
try {
|
||||||
const response = await axios.get(`http://localhost:8080/api/get_transaction/${txHash}`)
|
const response = await axios.get(`http://localhost:8080/api/get_transaction/${txHash}`)
|
||||||
console.log("THIS IS RESPONSE", response)
|
|
||||||
await this.setState({ transactionDetailData: response.data })
|
await this.setState({ transactionDetailData: response.data })
|
||||||
}
|
}
|
||||||
catch(error) {
|
catch(error) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue