From fd770c672f32eddd1d120f31822dcb5ead1cc1e1 Mon Sep 17 00:00:00 2001 From: Steve Persch Date: Wed, 18 Dec 2024 12:07:59 -0600 Subject: [PATCH] Update gatsby-browser.js --- gatsby-browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} }