This repository was archived by the owner on Feb 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import authorPostFields from '../_partials/authorPostFields'
4
4
import featuredImagePostFields from '../_partials/featuredImagePostFields'
5
5
import { gql } from '@apollo/client'
6
6
import defaultSeoFields from '../_partials/defaultSeoFields'
7
+ import commentsPostFields from '../_partials/commentsPostFields'
7
8
8
9
// Fragment: retrieve single page fields.
9
10
export const singlePageFragment = gql `
@@ -14,6 +15,7 @@ export const singlePageFragment = gql`
14
15
${ seoPostFields }
15
16
${ authorPostFields }
16
17
${ featuredImagePostFields }
18
+ ${ commentsPostFields }
17
19
}
18
20
`
19
21
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import tagsPostFields from '../_partials/tagsPostFields'
6
6
import categoriesPostFields from '../_partials/categoriesPostFields'
7
7
import { gql } from '@apollo/client'
8
8
import defaultSeoFields from '../_partials/defaultSeoFields'
9
+ import commentsPostFields from '../_partials/commentsPostFields'
9
10
10
11
// Fragment: retrieve single post fields.
11
12
const singlePostFragment = gql `
@@ -18,6 +19,7 @@ const singlePostFragment = gql`
18
19
${ featuredImagePostFields }
19
20
${ tagsPostFields }
20
21
${ categoriesPostFields }
22
+ ${ commentsPostFields }
21
23
}
22
24
`
23
25
// Query: retrieve post by specified identifier.
You can’t perform that action at this time.
0 commit comments