mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-22 17:22:05 -07:00
style(qr-scanner): Removed QR scanner from menu
This commit is contained in:
@@ -7,13 +7,13 @@ import siteConfig from '../site-config'
|
||||
// import Audit from "./audit"
|
||||
|
||||
import AdminLTE, { Sidebar, Navbar, Box } from 'adminlte-2-react'
|
||||
import ScannerModal from '../qr-scanner/modal'
|
||||
// import ScannerModal from '../qr-scanner/modal'
|
||||
|
||||
import Layout from '../layout'
|
||||
import './admin-lte.css'
|
||||
// import BchWallet from 'minimal-slp-wallet'
|
||||
import VersionStatus from '../version-status'
|
||||
import { BrowserRouter as Router } from 'react-router-dom'
|
||||
// import { BrowserRouter as Router } from 'react-router-dom'
|
||||
import menuComponents from '../menu-components.js'
|
||||
|
||||
import SendReceive from './send-receive'
|
||||
@@ -52,7 +52,7 @@ class AdminLTEPage extends React.Component {
|
||||
<Item icon='fas-coins' key='Tokens' text='Tokens' activeOn='/' />,
|
||||
<Item icon='fa-exchange-alt' key='SendReceive' text='Send/Receive' />,
|
||||
<Item icon='fa-wallet' key='Wallet' text='Wallet' />,
|
||||
<Item icon='fa-qrcode' key='qrReader' text='Qr Scanner' />,
|
||||
/* <Item icon='fa-qrcode' key='qrReader' text='Qr Scanner' />, */
|
||||
<Item icon='fas-cog' key='Configure' text='Configure' />
|
||||
]
|
||||
}
|
||||
@@ -149,13 +149,15 @@ class AdminLTEPage extends React.Component {
|
||||
</div>
|
||||
</Layout>
|
||||
</AdminLTE>
|
||||
{/*
|
||||
<Router>
|
||||
<ScannerModal
|
||||
show={_this.state.showScannerModal}
|
||||
handleOnHide={_this.onHandleToggleScannerModal}
|
||||
path='/'
|
||||
/>
|
||||
</Router>
|
||||
</Router> */
|
||||
}
|
||||
</>
|
||||
)
|
||||
}
|
||||
@@ -190,7 +192,7 @@ class AdminLTEPage extends React.Component {
|
||||
|
||||
async componentDidMount () {
|
||||
_this.customMenuItems()
|
||||
_this.addOnClickEventToScanner()
|
||||
// _this.addOnClickEventToScanner()
|
||||
|
||||
_this.activeItemById('Tokens')
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ class Send extends React.Component {
|
||||
{_this.state.txId && (
|
||||
<a
|
||||
target='_blank'
|
||||
rel="noopener noreferrer"
|
||||
rel='noopener noreferrer'
|
||||
href={`https://explorer.bitcoin.com/bch/tx/${_this.state.txId}`}
|
||||
>
|
||||
Transaction ID: {_this.state.txId}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
}
|
||||
.token-botton-container{
|
||||
max-width: 70%;
|
||||
margin: 0 auto;
|
||||
margin: 0 auto!important;
|
||||
}
|
||||
.btn-send-token{
|
||||
min-width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user