@@ -1,13 +1,11 @@
1import { getPostBySlug } from "../../lib/lib";
1import { getPostBySlug } from "../../lib/lib";
2import GrantProgramOverview from "../../components/GrantProgramOverview";
2import GrantProgramOverview from "../../components/GrantProgramOverview";
3−import Markdown from "../../components/Markdown";
5−export default function Post({ post, markdown, search }) {
4+export default function Post({ post, search }) {
7 <GrantProgramOverview
6 <GrantProgramOverview
8 program="bounties"
7 program="bounties"
9 post={post}
8 post={post}
11 search={search}
9 search={search}
12 actionText="View Open Bounties"
10 actionText="View Open Bounties"
13 actionLink="/grants?program=bounty&open=true&wip=false#view-grants"
11 actionLink="/grants?program=bounty&open=true&wip=false#view-grants"
@@ -22,9 +20,7 @@ export async function getStaticProps() {
25− const markdown = await Markdown({ post });
28− props: { post, markdown },
24+ props: { post },