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

Commit abc4899

Browse files
committed
Remove comments from pages
1 parent 3db4232 commit abc4899

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/wordpress/pages/queryPageById.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import authorPostFields from '../_partials/authorPostFields'
44
import featuredImagePostFields from '../_partials/featuredImagePostFields'
55
import {gql} from '@apollo/client'
66
import defaultPageData from '../_partials/defaultPageData'
7-
import commentsPostFields from '../_partials/commentsPostFields'
87

98
// Fragment: retrieve single page fields.
109
export const singlePageFragment = gql`
@@ -15,7 +14,6 @@ export const singlePageFragment = gql`
1514
${seoPostFields}
1615
${authorPostFields}
1716
${featuredImagePostFields}
18-
${commentsPostFields}
1917
}
2018
`
2119

0 commit comments

Comments
 (0)