feat: remove the last update component (#179)
This commit is contained in:
@@ -9,8 +9,6 @@ import { Activity, FileText, DollarSign, Share2, Settings, Layers } from 'react-
|
||||
import SwarmLogoOrange from '../assets/swarm-logo-orange.svg'
|
||||
import { Health } from '@ethersphere/bee-js'
|
||||
|
||||
import LastUpdate from './LastUpdate'
|
||||
|
||||
const drawerWidth = 240
|
||||
|
||||
const navBarItems = [
|
||||
@@ -87,7 +85,6 @@ interface Props extends RouteComponentProps {
|
||||
themeMode: string
|
||||
health: boolean
|
||||
nodeHealth: Health | null
|
||||
lastUpdate: number | null
|
||||
}
|
||||
|
||||
export default function SideBar(props: Props): ReactElement {
|
||||
@@ -170,9 +167,6 @@ export default function SideBar(props: Props): ReactElement {
|
||||
<span>Debug API</span>
|
||||
</div>
|
||||
</ListItem>
|
||||
<div style={{ width: '100%', textAlign: 'center' }}>
|
||||
<LastUpdate date={props.lastUpdate} />
|
||||
</div>
|
||||
</div>
|
||||
</Drawer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user