Skip to content

Commit

Permalink
Merge fd770c6 into 2121e87
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector authored Dec 18, 2024
2 parents 2121e87 + fd770c6 commit c7d4a31
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 184 deletions.
4 changes: 2 additions & 2 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <GlobalWrapper mobileMenuMaxWidth={MOBILE_MENU_BREAKPOINT}>{element}</GlobalWrapper>
}
Loading

0 comments on commit c7d4a31

Please sign in to comment.