Skip to content

Commit

Permalink
fix typo (#47235)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Kaifer <jan@kaifer.cz>
  • Loading branch information
tka5 and jankaifer committed Mar 20, 2023
1 parent 8771a56 commit fd0e813
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/cms-cosmic/lib/api.tsx
Expand Up @@ -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',
Expand Down

0 comments on commit fd0e813

Please sign in to comment.