Skip to content

Commit

Permalink
docs(browser-apis): fix replaceHydrateFunction JSDoc comment (#9701)
Browse files Browse the repository at this point in the history
`replaceHydrateFunction` is not currently showing up in the [Gatsby Browser APIs](https://www.gatsbyjs.org/docs/browser-apis/) section of the documentation site. The entries there are generated based on the JSDoc comments in `packages/gatsby/src/utils/api-browser-docs.js`, and the comment for `replaceHydrateFunction` was missing an asterisk, making it invalid JSDoc.
  • Loading branch information
wKovacs64 authored and pieh committed Nov 5, 2018
1 parent d9f88d9 commit 1be3df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/utils/api-browser-docs.js
Expand Up @@ -179,7 +179,7 @@ exports.onPostPrefetchPathname = true
*/
exports.disableCorePrefetching = true

/*
/**
* Allow a plugin to replace the ReactDOM.render function call by a custom renderer.
* This method takes no param and should return a function with same signature as ReactDOM.render()
* Note it's very important to call the callback after rendering, otherwise Gatsby will not be able to call `onInitialClientRender`
Expand Down

0 comments on commit 1be3df7

Please sign in to comment.