Merged in feat/rework-contentstack (pull request #3493)
Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation * Remove all REFS * Revalidate correct language * PR fixes * PR fixes * Throw when errors from contentstack api Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { TeaserCardBlockRef } from "../Blocks/Refs/TeaserCard.graphql"
|
||||
import { TeaserCardBlock } from "../Blocks/TeaserCard.graphql"
|
||||
|
||||
export const TeaserCardSidebar_ContentPage = gql`
|
||||
@@ -20,19 +19,3 @@ export const TeaserCardSidebar_ContentPage = gql`
|
||||
}
|
||||
${TeaserCardBlock}
|
||||
`
|
||||
|
||||
export const TeaserCardSidebar_ContentPageRefs = gql`
|
||||
fragment TeaserCardSidebar_ContentPageRefs on ContentPageSidebarTeaserCard {
|
||||
teaser_card {
|
||||
teaser_cardConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...TeaserCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${TeaserCardBlockRef}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user