Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed Aug 23, 2024
1 parent de15b61 commit f42dfe1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@ export async function getAllPostsWithSlug(postType, pageSize = 20) {
* @returns
*/
export async function getPost(slug, preview, type) {
console.log('slug', slug)
console.log('type', type)
const data = await fetchAPI(singlePostQuery, {
preview,
variables: {
Expand All @@ -310,7 +308,6 @@ export async function getPost(slug, preview, type) {
type: type ? type : "article",
},
});
console.log('data', data)
data.morePosts = data.relatedPosts;
return data;
}
Expand Down

0 comments on commit f42dfe1

Please sign in to comment.