File tree 1 file changed +9
-17
lines changed
packages/gatsby/cache-dir
1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react"
2
2
import PropTypes from "prop-types"
3
- import Link , {
4
- withPrefix ,
5
- withAssetPrefix ,
6
- navigate ,
7
- push ,
8
- replace ,
9
- navigateTo ,
10
- parsePath ,
11
- } from "gatsby-link"
12
- import { useScrollRestoration } from "gatsby-react-router-scroll"
13
- import PageRenderer from "./public-page-renderer"
14
3
import loader from "./loader"
15
4
16
5
const prefetchPathname = loader . enqueue
@@ -98,17 +87,20 @@ function graphql() {
98
87
)
99
88
}
100
89
90
+ export { default as PageRenderer } from "./public-page-renderer"
91
+ export { useScrollRestoration } from "gatsby-react-router-scroll"
101
92
export {
102
- Link ,
103
- withAssetPrefix ,
93
+ default as Link ,
104
94
withPrefix ,
105
- graphql ,
106
- parsePath ,
95
+ withAssetPrefix ,
107
96
navigate ,
108
- useScrollRestoration ,
97
+ parsePath ,
98
+ } from "gatsby-link"
99
+
100
+ export {
101
+ graphql ,
109
102
StaticQueryContext ,
110
103
StaticQuery ,
111
- PageRenderer ,
112
104
useStaticQuery ,
113
105
prefetchPathname ,
114
106
}
You can’t perform that action at this time.
0 commit comments