diff --git a/gatsby-browser.js b/gatsby-browser.js index 794bf32399..6a236cb06c 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -42,12 +42,12 @@ export const onRouteUpdate = () => { //console.log("Title: ", document.title) //For debugging } -// Trigger resize event once rendered +// Trigger resize event once rendered. export const onInitialClientRender = () => { window.dispatchEvent(new Event("resize")) } -// Global context providers +// Global context providers. export const wrapRootElement = ({ element }) => { return {element} }