From 242d9fdf55b11a1d5ef738ae4bc58fd73bb9017d Mon Sep 17 00:00:00 2001
From: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
Date: Wed, 10 Jan 2024 15:28:22 +0100
Subject: [PATCH 1/2] Fixes #242: Remove latest news section try 2
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
---
src/components/Home/index.tsx | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/components/Home/index.tsx b/src/components/Home/index.tsx
index 50485571..96a162ff 100644
--- a/src/components/Home/index.tsx
+++ b/src/components/Home/index.tsx
@@ -4,15 +4,14 @@ import Hero from "../Hero";
import Goals from "../Goals";
import Supporters from "../Supporters";
import FAQ from "../FAQ";
-import HowToSupport from "../HowToSupport";
import HowToContribute from "../HowToContribute";
-import LatestNews, { RecentPost } from "../LatestNews";
+import { RecentPost } from "../LatestNews";
type HomeProps = {
recentPosts: RecentPost[];
};
-export default function Home({ recentPosts }: HomeProps) {
+export default function Home() {
return (
@@ -20,8 +19,6 @@ export default function Home({ recentPosts }: HomeProps) {
-
-
);
}
From da2c16b2124a7032e7fe3dc11550130324555e0d Mon Sep 17 00:00:00 2001
From: Christian Mesh
Date: Wed, 10 Jan 2024 11:12:54 -0500
Subject: [PATCH 2/2] Remove extra imports/types used in removed sections
Signed-off-by: Christian Mesh
---
src/components/Home/index.tsx | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/components/Home/index.tsx b/src/components/Home/index.tsx
index 96a162ff..91e98295 100644
--- a/src/components/Home/index.tsx
+++ b/src/components/Home/index.tsx
@@ -5,11 +5,6 @@ import Goals from "../Goals";
import Supporters from "../Supporters";
import FAQ from "../FAQ";
import HowToContribute from "../HowToContribute";
-import { RecentPost } from "../LatestNews";
-
-type HomeProps = {
- recentPosts: RecentPost[];
-};
export default function Home() {
return (