Skip to content

Commit

Permalink
Fixes #242: Remove latest news section try 2
Browse files Browse the repository at this point in the history
Signed-off-by: Janos Bonic <[email protected]>
  • Loading branch information
Janos Bonic committed Jan 10, 2024
1 parent a17e373 commit 242d9fd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@ 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 = {

Check failure on line 10 in src/components/Home/index.tsx

View workflow job for this annotation

GitHub Actions / deploy

'HomeProps' is defined but never used
recentPosts: RecentPost[];
};

export default function Home({ recentPosts }: HomeProps) {
export default function Home() {
return (
<Layout description="The open source infrastructure as code tool.">
<Hero />
<Goals />
<HowToContribute />
<FAQ />
<Supporters />
<HowToSupport />
<LatestNews recentPosts={recentPosts} />
</Layout>
);
}

0 comments on commit 242d9fd

Please sign in to comment.