Merged in revert-gql (pull request #3104)
Revert gql * Revert "Merged in fix/system-fragment (pull request #3102)" This reverts commit0d479eb337. * Revert "Merged in chore/replace-graphql-tag/loader (pull request #3096)" This reverts commite9bd159e98.
This commit is contained in:
@@ -28,12 +28,11 @@ import { affix, getCityData, getCountryData } from "./utils"
|
||||
|
||||
import type { LanguageSwitcherData } from "@scandic-hotels/common/constants/language"
|
||||
import type { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import type { DocumentNode } from "graphql"
|
||||
|
||||
import type { RawMetadataSchema } from "./output"
|
||||
|
||||
const fetchMetadata = cache(async function fetchMemoizedMetadata<T>(
|
||||
query: string | DocumentNode,
|
||||
query: string,
|
||||
{ uid, lang }: { uid: string; lang: Lang }
|
||||
) {
|
||||
const getMetadataCounter = createCounter("trpc.contentstack", "metadata.get")
|
||||
|
||||
Reference in New Issue
Block a user