mirror of
https://github.com/fullstack-cash/explorer.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
fix(component extension): Got basic skeleton in place for video
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
/* Your site config here */
|
/* Your site config here */
|
||||||
plugins: ['gatsby-ipfs-web-wallet']
|
plugins: ['gatsby-ipfs-web-wallet', require.resolve('../gatsby-plugin-bch-tx-history')]
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+7
@@ -21473,6 +21473,13 @@
|
|||||||
"micromatch": "^3.1.10"
|
"micromatch": "^3.1.10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"gatsby-plugin-bch-tx-history": {
|
||||||
|
"version": "github:Permissionless-Software-Foundation/gatsby-plugin-bch-tx-history#99aeb6cb8e24af50fa7e912b2c44bdd3b15c81c8",
|
||||||
|
"from": "github:Permissionless-Software-Foundation/gatsby-plugin-bch-tx-history#ct-unstable",
|
||||||
|
"requires": {
|
||||||
|
"adminlte-2-react": "^0.1.27"
|
||||||
|
}
|
||||||
|
},
|
||||||
"gatsby-plugin-ipfs": {
|
"gatsby-plugin-ipfs": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/gatsby-plugin-ipfs/-/gatsby-plugin-ipfs-2.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/gatsby-plugin-ipfs/-/gatsby-plugin-ipfs-2.0.2.tgz",
|
||||||
|
|||||||
+2
-1
@@ -20,7 +20,8 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
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 Info from 'gatsby-ipfs-web-wallet/src/components/admin-lte/wallet/info'
|
// import Info from 'gatsby-ipfs-web-wallet/src/components/admin-lte/wallet/info'
|
||||||
|
|
||||||
// console.log('Wallet: ', Wallet)
|
// console.log('Wallet: ', Wallet)
|
||||||
@@ -8,12 +10,12 @@ import Wallet from 'gatsby-ipfs-web-wallet/src/components/admin-lte/wallet/index
|
|||||||
// let _this
|
// let _this
|
||||||
|
|
||||||
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.')
|
||||||
|
|
||||||
// _this = this
|
// console.log('Wallet info: ', props.walletInfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
@@ -27,7 +29,7 @@ class Wallet2 extends Wallet {
|
|||||||
addCards () {
|
addCards () {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<p>This is the new component!</p>
|
<TXHistory walletInfo={this.props.walletInfo} />
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user