fix: dashboard sync cards

This commit is contained in:
RadoslavDimchev 2023-11-10 00:46:34 +02:00
parent 41039184f8
commit 9c8bae7e82
2 changed files with 4 additions and 4 deletions

View File

@ -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%'}>

View File

@ -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