Skip to content

Commit

Permalink
Remove debug buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante committed Jan 18, 2022
1 parent 6d8799e commit 617db9c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/pages/WalletPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import React from 'react';
import Container from '@material-ui/core/Container';
import BalancesList from '../components/BalancesList';
import Grid from '@material-ui/core/Grid';
import { useIsProdNetwork } from '../utils/connection';
import DebugButtons from '../components/DebugButtons';
import { makeStyles } from '@material-ui/core';
import { useIsExtensionWidth } from '../utils/utils';

Expand All @@ -25,19 +23,13 @@ const useStyles = makeStyles((theme) => ({

export default function WalletPage() {
const classes = useStyles();
const isProdNetwork = useIsProdNetwork();
const isExtensionWidth = useIsExtensionWidth();
return (
<Container fixed maxWidth="md" className={classes.container}>
<Grid container spacing={isExtensionWidth ? 0 : 3}>
<Grid item xs={12} className={classes.balancesContainer}>
<BalancesList />
</Grid>
{isProdNetwork ? null : (
<Grid item xs={12}>
<DebugButtons />
</Grid>
)}
</Grid>
</Container>
);
Expand Down

0 comments on commit 617db9c

Please sign in to comment.