fix(plugin): Using npm version of bch-tx-history

This commit is contained in:
Chris Troutner
2020-08-13 07:06:47 -07:00
parent e50b30a819
commit c864fd3f0d
4 changed files with 10 additions and 11 deletions
+4 -1
View File
@@ -6,5 +6,8 @@
module.exports = { module.exports = {
/* Your site config here */ /* Your site config here */
plugins: ['gatsby-ipfs-web-wallet', require.resolve('../gatsby-plugin-bch-tx-history')] plugins: [
'gatsby-ipfs-web-wallet',
'gatsby-plugin-bch-tx-history'
]
} }
+3 -2
View File
@@ -21474,8 +21474,9 @@
} }
}, },
"gatsby-plugin-bch-tx-history": { "gatsby-plugin-bch-tx-history": {
"version": "github:Permissionless-Software-Foundation/gatsby-plugin-bch-tx-history#99aeb6cb8e24af50fa7e912b2c44bdd3b15c81c8", "version": "1.0.6",
"from": "github:Permissionless-Software-Foundation/gatsby-plugin-bch-tx-history#ct-unstable", "resolved": "https://registry.npmjs.org/gatsby-plugin-bch-tx-history/-/gatsby-plugin-bch-tx-history-1.0.6.tgz",
"integrity": "sha512-RbBdjwfTu5ZGBataRmmkRcuR5qjczOjh/LLz8jUjij7D1Dsqtzr313NamXkQdWNTotAX/fyYuQyDLdZGpoOaPw==",
"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": "Permissionless-Software-Foundation/gatsby-plugin-bch-tx-history#ct-unstable" "gatsby-plugin-bch-tx-history": "^1.0.6"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -1,14 +1,9 @@
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'
// import Info from 'gatsby-ipfs-web-wallet/src/components/admin-lte/wallet/info'
// console.log('Wallet: ', Wallet)
// console.log('Info: ', Info)
// let _this
class Wallet2 extends Wallet { class Wallet2 extends Wallet {
// class Wallet2 extends React.Component { // class Wallet2 extends React.Component {
constructor (props) { constructor (props) {