Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 12, 2020
1 parent 3b5029f commit 39ed664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cms-datocms/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Index({ allPosts }) {
}

export async function getStaticProps({ preview }) {
const allPosts = await getAllPostsForHome(preview) || []
const allPosts = (await getAllPostsForHome(preview)) || []
return {
props: { allPosts },
}
Expand Down

0 comments on commit 39ed664

Please sign in to comment.