From c9ddf6fa5d859b25fc08fc2438cc12c20ce87a7e Mon Sep 17 00:00:00 2001 From: dylankelly Date: Fri, 12 Jan 2024 15:17:17 +1100 Subject: [PATCH] chore: remove console log --- packages/nuxt-ripple/composables/use-tide-page.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/nuxt-ripple/composables/use-tide-page.ts b/packages/nuxt-ripple/composables/use-tide-page.ts index 93f9b4e6ab..2f890649c6 100644 --- a/packages/nuxt-ripple/composables/use-tide-page.ts +++ b/packages/nuxt-ripple/composables/use-tide-page.ts @@ -80,9 +80,7 @@ export const useTidePage = async ( ) if (Object.keys(nuxt.payload.data).length > maxCacheItems + 1) { - if (process.dev) { - console.log('clear nuxt cache') - } + debugLogger(`Cache is larger than max ${maxCacheItems} items, clearing...`) clearNuxtData() } } @@ -92,9 +90,6 @@ export const useTidePage = async ( // Refresh data so it doesnt go stale whilst client side nav if (pageData.value && pageData.value._fetched) { if (isCacheTimeExpired(pageData.value._fetched)) { - if (process.dev) { - console.log('Cache reset for page', `page-${path}`) - } debugLogger( 'Cached data for this page is stale, clearing nuxt cache just for this page...',