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

Commit 05e7d93

Browse files
committed
Export page fragment
1 parent 2d2e13d commit 05e7d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/wordpress/pages/queryPageById.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import featuredImagePostFields from '../_partials/featuredImagePostFields'
66
const {gql} = require('@apollo/client')
77

88
// Fragment: retrieve single page fields.
9-
const singlePageFragment = gql`
9+
export const singlePageFragment = gql`
1010
fragment SinglePageFields on Page {
1111
${globalPostFields}
1212
blocksJSON

0 commit comments

Comments
 (0)