From 15691a973d9c3cf36a0a64f68378374269f3dff4 Mon Sep 17 00:00:00 2001
From: Ilya Y <75578537+ilya-bkv@users.noreply.github.com>
Date: Thu, 26 Oct 2023 06:17:23 +0300
Subject: [PATCH] homepage slider conditional render (#283)
---
src/components/Views/Home.tsx | 64 +++++++++++++++++++----------------
1 file changed, 34 insertions(+), 30 deletions(-)
diff --git a/src/components/Views/Home.tsx b/src/components/Views/Home.tsx
index 3c326c40..90bbfbe3 100644
--- a/src/components/Views/Home.tsx
+++ b/src/components/Views/Home.tsx
@@ -129,21 +129,23 @@ export const HomeView = (props: Props) => {
nodate={true}
/>
-
-
- {(a: Shout) => (
-
- )}
-
-
+
+
+
+ {(a: Shout) => (
+
+ )}
+
+
+
@@ -159,21 +161,23 @@ export const HomeView = (props: Props) => {
{randomLayout()}
-
-
- {(a: Shout) => (
-
- )}
-
-
+
+
+
+ {(a: Shout) => (
+
+ )}
+
+
+