Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 3437dc5

Browse files
committed
Simplify default page data query
1 parent 105381d commit 3437dc5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

api/wordpress/_global/queryDefaultPageData.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import {gql} from '@apollo/client'
2-
import defaultSeoFields from '../_partials/defaultSeoFields'
3-
import allMenus from '../_partials/allMenus'
2+
import defaultPageData from '../_partials/defaultPageData'
43

54
// Query: retrieve default SEO and other page data.
65
const queryDefaultPageData = gql`
76
query GET_DEFAULT_SEO {
8-
${defaultSeoFields}
9-
${allMenus}
7+
${defaultPageData}
108
}
119
`
1210

0 commit comments

Comments
 (0)