cleaned up console logs

This commit is contained in:
Dustin Brickwood 2018-05-17 11:09:52 -04:00
parent 5804bd113f
commit 1b5ee8a1f1
3 changed files with 0 additions and 4 deletions

View file

@ -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(' ')}>

View file

@ -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>

View file

@ -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) {