From f42dfe12577cbcd4f29b5358f2d2e4b5db5a0b41 Mon Sep 17 00:00:00 2001 From: Graeme Fulton Date: Fri, 23 Aug 2024 20:01:53 +0100 Subject: [PATCH] remove console log --- lib/api.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/api.js b/lib/api.js index 09aa9312..004ed7a7 100644 --- a/lib/api.js +++ b/lib/api.js @@ -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: { @@ -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; }