fix(component extension): Got basic skeleton in place for video

This commit is contained in:
Chris Troutner
2020-08-12 15:34:09 -07:00
parent d4e9fd50d1
commit e50b30a819
4 changed files with 15 additions and 5 deletions
@@ -1,5 +1,7 @@
import React from 'react'
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'
// console.log('Wallet: ', Wallet)
@@ -8,12 +10,12 @@ import Wallet from 'gatsby-ipfs-web-wallet/src/components/admin-lte/wallet/index
// let _this
class Wallet2 extends Wallet {
// class Wallet2 extends React.Component {
// class Wallet2 extends React.Component {
constructor (props) {
super(props)
console.log('Loading new example view.')
// _this = this
// console.log('Wallet info: ', props.walletInfo)
}
render () {
@@ -27,7 +29,7 @@ class Wallet2 extends Wallet {
addCards () {
return (
<>
<p>This is the new component!</p>
<TXHistory walletInfo={this.props.walletInfo} />
</>
)
}