From b453cc5a109a15b297c3a6a2b98a28d158bda011 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Tue, 17 Dec 2024 12:52:58 +0300 Subject: [PATCH] update switch platform component position --- src/components/layouts/SwitchPlatform.tsx | 5 +---- src/pages/community-health.tsx | 4 ++-- src/pages/index.tsx | 4 ++-- src/pages/statistics.tsx | 16 +++++++++------- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/components/layouts/SwitchPlatform.tsx b/src/components/layouts/SwitchPlatform.tsx index 719e1ccf..e6a01ce7 100644 --- a/src/components/layouts/SwitchPlatform.tsx +++ b/src/components/layouts/SwitchPlatform.tsx @@ -79,10 +79,6 @@ const SwitchPlatform = () => { return ( - - Select Platform: - - + ); diff --git a/src/pages/community-health.tsx b/src/pages/community-health.tsx index c0587998..156c7c12 100644 --- a/src/pages/community-health.tsx +++ b/src/pages/community-health.tsx @@ -79,12 +79,12 @@ function CommunityHealth() { alignItems={{ xs: 'flex-start', md: 'center' }} gap={2} > - +

Community Health

{' '} +
-
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 37d4fe2f..d945c6e3 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -47,12 +47,12 @@ function Index(): JSX.Element { gap={2} pb={2} > - +

Community Insights

{' '} +
-
diff --git a/src/pages/statistics.tsx b/src/pages/statistics.tsx index f098de38..18b37a1d 100644 --- a/src/pages/statistics.tsx +++ b/src/pages/statistics.tsx @@ -324,13 +324,15 @@ const Statistics = () => { gap={2} pb={2} > - -
- - Community Insights -
- - + + +
+ + Community Insights +
+ + +