fix(SW-194): break out blocks to separate query
This commit is contained in:
@@ -34,10 +34,9 @@ export const contentPageQueryRouter = router({
|
||||
if (!contentPageRefs) {
|
||||
return null
|
||||
}
|
||||
//console.log("EYY", contentPageRefs.content_page.blocks[1])
|
||||
//console.log("EYY", contentPageRefs.content_page.blocks[0])
|
||||
|
||||
const tags = generatePageTags(contentPageRefs, lang)
|
||||
//console.log("tags", tags)
|
||||
|
||||
getContentPageCounter.add(1, { lang, uid })
|
||||
console.info(
|
||||
"contentstack.contentPage start",
|
||||
@@ -86,7 +85,7 @@ export const contentPageQueryRouter = router({
|
||||
console.error(contentPage.error?.format())
|
||||
return null
|
||||
}
|
||||
//console.log("HEJ2", contentPage.data.content_page.blocks[0])
|
||||
|
||||
const tracking: TrackingSDKPageData = {
|
||||
pageId: contentPage.data.content_page.system.uid,
|
||||
lang: contentPage.data.content_page.system.locale as Lang,
|
||||
|
||||
Reference in New Issue
Block a user