diff --git a/src/pages/Dashboard/Dashboard.tsx b/src/pages/Dashboard/Dashboard.tsx
index aae9f618..790d12c7 100644
--- a/src/pages/Dashboard/Dashboard.tsx
+++ b/src/pages/Dashboard/Dashboard.tsx
@@ -20,19 +20,12 @@ const Dashboard = () => {
}, [])
return (
-
- {windowWidth>900&&
- (
-
- )}
-
-
- {windowWidth>900&&
- (
+
+ {windowWidth > 900 && }
-
- )}
-
+
+ {windowWidth > 900 && }
+
)
}
diff --git a/src/pages/Dashboard/DashboardContent.tsx b/src/pages/Dashboard/DashboardContent.tsx
index 11961681..05e210cb 100644
--- a/src/pages/Dashboard/DashboardContent.tsx
+++ b/src/pages/Dashboard/DashboardContent.tsx
@@ -15,9 +15,8 @@ import SyncStatusCard from './SyncStatusCards/SyncStatusCards'
import MemoryCard from './MemoryCard/MemoryCard'
import { XStack } from 'tamagui'
type DashboardContentProps = {
- windowWidth: number;
-
-};
+ windowWidth: number
+}
const DashboardContent = ({ windowWidth }: DashboardContentProps) => {
return (
{
{windowWidth < 1400 ? (
-
DashboardContentLayout(windowWidth)
-
) : (
{
}
const DashboardContentLayout = (windowWidth: number) => {
return (
-
+
{
-
+
@@ -134,6 +133,4 @@ const DashboardContentLayout = (windowWidth: number) => {
)
}
-
-
export default DashboardContent