feat(logs page): make sidebar responsive

This commit is contained in:
Hristo Nedelkov 2024-02-27 14:10:13 +02:00 committed by Emil Ivanichkov
parent 6d043ba203
commit 9aa4b06ae9
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ import { XStack } from 'tamagui'
import LeftSidebar from '../../components/General/LeftSidebar/LeftSidebar'
import RightSidebar from '../../components/General/RightSideBar/RightSidebar'
import DashboardContent from './DashboardContent'
import { useEffect, useState } from 'react'
import { useWindowSize } from '../../hooks/useWindowSize'
const Dashboard = () => {

View File

@ -102,7 +102,7 @@ const LogsPage = () => {
</Stack>
</Stack>
</YStack>
<RightSidebar />
{windowSize.width > 900 && <RightSidebar />}
</XStack>
)
}