Unverified Commit fd0e8134 authored by tka5's avatar tka5 Committed by GitHub

fix typo (#47235)

Co-authored-by: 's avatarJan Kaifer <jan@kaifer.cz>
parent 8771a561
......@@ -40,7 +40,9 @@ export const getAllPostsWithSlug = async () => {
return data.objects
}
export const getAllPostsForHome = async (preview: boolean): Promise<Post[]> => {
export const getAllPostsForHome = async (
preview: boolean
): Promise<PostType[]> => {
const params = {
query: {
type: 'posts',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment