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
+3 -3
View File
@@ -21474,9 +21474,9 @@
} }
}, },
"gatsby-plugin-bch-tx-history": { "gatsby-plugin-bch-tx-history": {
"version": "1.0.6", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/gatsby-plugin-bch-tx-history/-/gatsby-plugin-bch-tx-history-1.0.6.tgz", "resolved": "https://registry.npmjs.org/gatsby-plugin-bch-tx-history/-/gatsby-plugin-bch-tx-history-1.1.0.tgz",
"integrity": "sha512-RbBdjwfTu5ZGBataRmmkRcuR5qjczOjh/LLz8jUjij7D1Dsqtzr313NamXkQdWNTotAX/fyYuQyDLdZGpoOaPw==", "integrity": "sha512-nUp9rcgmlMmZnE3gxJhD3PPufKQKMda7bYOQTR0bLCkyHLIgBA0XL8fVMrEG31PIK/8lKnE+qLrffy6pE+lM6A==",
"requires": { "requires": {
"adminlte-2-react": "^0.1.27" "adminlte-2-react": "^0.1.27"
} }
+1 -1
View File
@@ -21,7 +21,7 @@
"dependencies": { "dependencies": {
"gatsby": "^2.23.7", "gatsby": "^2.23.7",
"gatsby-ipfs-web-wallet": "^1.9.8", "gatsby-ipfs-web-wallet": "^1.9.8",
"gatsby-plugin-bch-tx-history": "^1.0.6" "gatsby-plugin-bch-tx-history": "^1.1.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -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 Wallet {
// class Wallet2 extends React.Component { // class Wallet2 extends React.Component {
constructor(props) { constructor (props) {
super(props) super(props)
console.log("Loading new example view.") console.log('Loading new example view.')
// console.log('Wallet info: ', props.walletInfo) // console.log('Wallet info: ', props.walletInfo)
} }
render() { render () {
return ( return (
<> <>
<Wallet {...this.props} importComponents={this.addCards()} /> <Wallet {...this.props} importComponents={this.addCards()} />
@@ -21,7 +21,7 @@ class Wallet2 extends Wallet {
) )
} }
addCards() { addCards () {
return ( return (
<> <>
<TXHistory <TXHistory