mirror of
https://github.com/vercel/commerce.git
synced 2025-04-25 20:37:51 +00:00
* changes * Adding shopify commit * Changed to query page by id * Fixed page query, Changed use-search GraphQl query * Update use-search.tsx * remove unused util * Changed cookie expiration * Update tsconfig.json Co-authored-by: okbel <curciobel@gmail.com>
15 lines
223 B
TypeScript
15 lines
223 B
TypeScript
export const getPageQuery = /* GraphQL */ `
|
|
query($id: ID!) {
|
|
node(id: $id) {
|
|
id
|
|
... on Page {
|
|
title
|
|
handle
|
|
body
|
|
bodySummary
|
|
}
|
|
}
|
|
}
|
|
`
|
|
export default getPageQuery
|