Adding updated npm package gatsby-ipfs-bch-tx-history

This commit is contained in:
Chris Troutner
2020-08-14 11:30:24 -07:00
parent 181afb2f6e
commit 34e196e8f3
3 changed files with 11 additions and 11 deletions
@@ -1,19 +1,19 @@
import React from "react"
import React from 'react'
import Wallet from "gatsby-ipfs-web-wallet/src/components/admin-lte/wallet/index"
import Wallet from 'gatsby-ipfs-web-wallet/src/components/admin-lte/wallet/index'
import TXHistory from "gatsby-plugin-bch-tx-history/src/components/txhistory"
import TXHistory from 'gatsby-plugin-bch-tx-history/src/components/txhistory'
class Wallet2 extends Wallet {
// class Wallet2 extends React.Component {
constructor(props) {
constructor (props) {
super(props)
console.log("Loading new example view.")
console.log('Loading new example view.')
// console.log('Wallet info: ', props.walletInfo)
}
render() {
render () {
return (
<>
<Wallet {...this.props} importComponents={this.addCards()} />
@@ -21,7 +21,7 @@ class Wallet2 extends Wallet {
)
}
addCards() {
addCards () {
return (
<>
<TXHistory