Skip to content

Commit 81f633c

Browse files
committed
Fix blogs page
1 parent 157abaf commit 81f633c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/blog.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import BlogPost from "../components/BlogPost"
44
import BlogSidebar from "../components/BlogSidebar"
55
import { graphql } from "gatsby"
66

7-
export default ({ pageContext, data }) => {
7+
export default ({ pageContext, data }: any) => {
88
const posts = data.allMarkdownRemark.edges
99
.map((e: any) => e.node)
1010
.sort((a: any, b: any) => {
@@ -39,6 +39,7 @@ export default ({ pageContext, data }) => {
3939
guestBio={guestBio}
4040
rawMarkdownBody={rawMarkdownBody}
4141
isPermalink={false}
42+
pageContext={pageContext}
4243
/>
4344
)
4445
)}

0 commit comments

Comments
 (0)