Skip to content

Commit 33653bb

Browse files
committed
fix issue with gatsby docs promise
1 parent c22fe36 commit 33653bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

uilib-docs/gatsby-node.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
const {createMarkdownPages, createComponentPages} = require('./configurations/pageCreators');
88

99
exports.createPages = ({graphql, boundActionCreators}) => {
10-
createMarkdownPages({graphql, boundActionCreators});
11-
createComponentPages({graphql, boundActionCreators});
10+
return Promise.all([createMarkdownPages({graphql, boundActionCreators}), createComponentPages({graphql, boundActionCreators})]);
1211
};

0 commit comments

Comments
 (0)