aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff <jeffkleinaitis@gmail.com>2024-04-15 13:30:21 -0400
committerJeff <jeffkleinaitis@gmail.com>2024-04-15 13:30:21 -0400
commite14260a62dbd99f1e5c957cb15dd02b7a36675fd (patch)
tree98695e11b06be3ce73662281eb3d53f0785cdcdd
parent7b27f8909e9f7837cdf96b17b99ef1d76ee65d14 (diff)
feat: Add React fragment to contain false conditional components
-rw-r--r--src/components/Home.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/Home.js b/src/components/Home.js
index 1bc54d2..901b31d 100644
--- a/src/components/Home.js
+++ b/src/components/Home.js
@@ -16,10 +16,7 @@ const Home = () => {
{!user ? (
<>
<Hero/>
- <SectionTitle
- pretitle="How It Works"
- title="Getting Started with Helping Hands"
- >
+ <SectionTitle pretitle="How It Works" title="Getting Started with Helping Hands">
Helping Hands simplifies the process of finding or offering volunteer opportunities. Here's a
step-by-step guide:
</SectionTitle>
@@ -33,7 +30,9 @@ const Home = () => {
<Cta/>
</>
) : (
+ <>
<Sidebar/>
+ </>
)}
</>
);