fix: dashboard sync cards
This commit is contained in:
parent
41039184f8
commit
9c8bae7e82
|
@ -10,7 +10,7 @@ import DeviceUptime from './DeviceUptime/DeviceUptime'
|
|||
import TitleLogo from '../../components/General/TitleLogo'
|
||||
import StorageCard from './StorageCard/StorageCard'
|
||||
import NetworkCard from './NetworkCard/NetworkCard'
|
||||
import SyncStatusCard from './SyncStatusCards/SyncStatusCards'
|
||||
import SyncStatusCards from './SyncStatusCards/SyncStatusCards'
|
||||
import MemoryCard from './MemoryCard/MemoryCard'
|
||||
|
||||
type DashboardContentProps = {
|
||||
|
@ -41,7 +41,7 @@ const DashboardContent = ({ windowWidth }: DashboardContentProps) => {
|
|||
gridAutoFlow: 'row',
|
||||
}}
|
||||
>
|
||||
<SyncStatusCard />
|
||||
<SyncStatusCards />
|
||||
<AddCardsContainer />
|
||||
{windowWidth < 1375 ? (
|
||||
<Stack style={{ gridColumn: '1 / span 2' }} width={'101%'}>
|
||||
|
|
|
@ -5,7 +5,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
|
|||
import ExecutionClientCard from './ExecutionClientCard'
|
||||
import ConsensusCard from './ConsensusClientCard'
|
||||
|
||||
const SyncStatusCard = () => {
|
||||
const SyncStatusCards = () => {
|
||||
return (
|
||||
<DashboardCardWrapper padding="0" minWidth="50px">
|
||||
<YStack space={'$2'}>
|
||||
|
@ -24,4 +24,4 @@ const SyncStatusCard = () => {
|
|||
)
|
||||
}
|
||||
|
||||
export default SyncStatusCard
|
||||
export default SyncStatusCards
|
||||
|
|
Loading…
Reference in New Issue