delete commented code
This commit is contained in:
parent
21f7b74db9
commit
949bef8399
|
@ -109,7 +109,6 @@ const Layout = ({ classes, providerDetails, providerInfo }) => {
|
||||||
<ClickAwayListener mouseEvent="onClick" onClickAway={clickAwayNetworks} touchEvent={false}>
|
<ClickAwayListener mouseEvent="onClick" onClickAway={clickAwayNetworks} touchEvent={false}>
|
||||||
<List className={classes.root} component="div">
|
<List className={classes.root} component="div">
|
||||||
Networks list
|
Networks list
|
||||||
{/* {providerDetails} */}
|
|
||||||
</List>
|
</List>
|
||||||
</ClickAwayListener>
|
</ClickAwayListener>
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -16,7 +16,6 @@ import { upperFirst } from 'src/utils/css'
|
||||||
import { ETHEREUM_NETWORK } from 'src/config/networks/network.d'
|
import { ETHEREUM_NETWORK } from 'src/config/networks/network.d'
|
||||||
import { getExplorerInfo } from 'src/config'
|
import { getExplorerInfo } from 'src/config'
|
||||||
import { KeyRing } from 'src/components/AppLayout/Header/components/KeyRing'
|
import { KeyRing } from 'src/components/AppLayout/Header/components/KeyRing'
|
||||||
/* import { CircleDot } from '../CircleDot' */
|
|
||||||
import { createStyles } from '@material-ui/core'
|
import { createStyles } from '@material-ui/core'
|
||||||
import styled from 'styled-components'
|
import styled from 'styled-components'
|
||||||
|
|
||||||
|
@ -108,7 +107,6 @@ const useStyles = makeStyles(styles)
|
||||||
|
|
||||||
export const UserDetails = ({
|
export const UserDetails = ({
|
||||||
connected,
|
connected,
|
||||||
/* network, */
|
|
||||||
onDisconnect,
|
onDisconnect,
|
||||||
openDashboard,
|
openDashboard,
|
||||||
provider,
|
provider,
|
||||||
|
@ -160,17 +158,6 @@ export const UserDetails = ({
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Row>
|
</Row>
|
||||||
<Hairline margin="xs" />
|
<Hairline margin="xs" />
|
||||||
{/* <Row className={classes.details}>
|
|
||||||
<Paragraph align="right" className={classes.labels} noMargin>
|
|
||||||
Network
|
|
||||||
</Paragraph>
|
|
||||||
<Spacer />
|
|
||||||
<CircleDot className={classes.logo} />
|
|
||||||
<Paragraph align="right" className={classes.labels} noMargin weight="bolder">
|
|
||||||
{upperFirst(ETHEREUM_NETWORK[network])}
|
|
||||||
</Paragraph>
|
|
||||||
</Row>
|
|
||||||
<Hairline margin="xs" /> */}
|
|
||||||
{openDashboard && (
|
{openDashboard && (
|
||||||
<Row className={classes.dashboard}>
|
<Row className={classes.dashboard}>
|
||||||
<Button color="primary" fullWidth onClick={openDashboard} size="medium" variant="contained">
|
<Button color="primary" fullWidth onClick={openDashboard} size="medium" variant="contained">
|
||||||
|
|
Loading…
Reference in New Issue