This commit is contained in:
Chris Troutner
2021-06-17 10:24:13 -07:00
parent b261db4d57
commit 3837b65cdf
+11 -11
View File
@@ -60,18 +60,18 @@ class AdminLTEPage extends React.Component {
<AdminLTE <AdminLTE
title={[siteConfig.title]} title={[siteConfig.title]}
titleShort={[siteConfig.titleShort]} titleShort={[siteConfig.titleShort]}
theme="blue" theme='blue'
> >
<Sidebar.Core> <Sidebar.Core>
<Item key="Balance" text="Balance" icon={siteConfig.balanceIcon}> <Item key='Balance' text='Balance' icon={siteConfig.balanceIcon}>
<Box <Box
className="hover-shadow border-none background-none" className='hover-shadow border-none background-none'
loaded={!_this.state.inFetch} loaded={!_this.state.inFetch}
> >
<div className="sidebar-balance"> <div className='sidebar-balance'>
<div> <div>
{!_this.state.inFetch && ( {!_this.state.inFetch && (
<div className="siderbar-balance-content"> <div className='siderbar-balance-content'>
<span> <span>
<h3>{siteConfig.balanceText}</h3> <h3>{siteConfig.balanceText}</h3>
@@ -81,9 +81,9 @@ class AdminLTEPage extends React.Component {
<small>USD: ${_this.state.usdBalance}</small> <small>USD: ${_this.state.usdBalance}</small>
</span> </span>
<FontAwesomeIcon <FontAwesomeIcon
className="ml-1 icon" className='ml-1 icon'
size="lg" size='lg'
icon="redo" icon='redo'
onClick={_this.handleGetBalance} onClick={_this.handleGetBalance}
/> />
</div> </div>
@@ -101,8 +101,8 @@ class AdminLTEPage extends React.Component {
<Navbar.Core> <Navbar.Core>
<VersionStatus /> <VersionStatus />
</Navbar.Core> </Navbar.Core>
<Layout path="/" {..._this.props}> <Layout path='/' {..._this.props}>
<div className="components-container"> <div className='components-container'>
{_this.renderNewViewItems(_this.props)} {_this.renderNewViewItems(_this.props)}
</div> </div>
</Layout> </Layout>
@@ -383,7 +383,7 @@ class AdminLTEPage extends React.Component {
return ( return (
<li style={{ display: 'none' }}> <li style={{ display: 'none' }}>
{/* Adding this childrens prevents console errors */} {/* Adding this childrens prevents console errors */}
<a href="#"> <a href='#'>
<span /> <span />
<span /> <span />
</a> </a>