feat: remove the last update component (#179)

This commit is contained in:
Vojtech Simetka
2021-08-23 16:00:22 +02:00
committed by GitHub
parent 7f2ff39ec9
commit 56df3a2561
4 changed files with 3 additions and 41 deletions
+1 -3
View File
@@ -5,7 +5,6 @@ import { Container, CircularProgress } from '@material-ui/core'
import StampsTable from './StampsTable'
import TroubleshootConnectionCard from '../../components/TroubleshootConnectionCard'
import CreatePostageStampModal from './CreatePostageStampModal'
import LastUpdate from '../../components/LastUpdate'
import { Context } from '../../providers/Stamps'
import { Context as BeeContext } from '../../providers/Bee'
@@ -33,7 +32,7 @@ export default function Accounting(): ReactElement {
const classes = useStyles()
const beeContext = useContext(BeeContext)
const { stamps, isLoading, error, lastUpdate, start, stop } = useContext(Context)
const { stamps, isLoading, error, start, stop } = useContext(Context)
useEffect(() => {
start()
@@ -61,7 +60,6 @@ export default function Accounting(): ReactElement {
<>
<div className={classes.actions}>
<CreatePostageStampModal />
<LastUpdate date={lastUpdate} />
<div style={{ height: '5px' }}>{isLoading && <CircularProgress />}</div>
</div>
<StampsTable postageStamps={stamps} />