Skip to content

Commit

Permalink
fix(gatsby): improve import/export in gatsby-browser-entry (gatsbyjs#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored Aug 29, 2022
1 parent 58eee35 commit 215ce0e
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions packages/gatsby/cache-dir/gatsby-browser-entry.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
import React from "react"
import PropTypes from "prop-types"
import Link, {
withPrefix,
withAssetPrefix,
navigate,
push,
replace,
navigateTo,
parsePath,
} from "gatsby-link"
import { useScrollRestoration } from "gatsby-react-router-scroll"
import PageRenderer from "./public-page-renderer"
import loader from "./loader"

const prefetchPathname = loader.enqueue
Expand Down Expand Up @@ -98,17 +87,20 @@ function graphql() {
)
}

export { default as PageRenderer } from "./public-page-renderer"
export { useScrollRestoration } from "gatsby-react-router-scroll"
export {
Link,
withAssetPrefix,
default as Link,
withPrefix,
graphql,
parsePath,
withAssetPrefix,
navigate,
useScrollRestoration,
parsePath,
} from "gatsby-link"

export {
graphql,
StaticQueryContext,
StaticQuery,
PageRenderer,
useStaticQuery,
prefetchPathname,
}
Expand Down

0 comments on commit 215ce0e

Please sign in to comment.