Skip to content

Commit 4ca8268

Browse files
committed
Should not export functions that are not imported
1 parent 1a001da commit 4ca8268

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5014,7 +5014,7 @@ function getResourceKey(as: string, href: string): string {
50145014
return `[${as}]${href}`;
50155015
}
50165016

5017-
export function prefetchDNS(href: string, options?: ?PrefetchDNSOptions) {
5017+
function prefetchDNS(href: string, options?: ?PrefetchDNSOptions) {
50185018
if (!enableFloat) {
50195019
return;
50205020
}
@@ -5073,7 +5073,7 @@ export function prefetchDNS(href: string, options?: ?PrefetchDNSOptions) {
50735073
}
50745074
}
50755075

5076-
export function preconnect(href: string, options?: ?PreconnectOptions) {
5076+
function preconnect(href: string, options?: ?PreconnectOptions) {
50775077
if (!enableFloat) {
50785078
return;
50795079
}
@@ -5136,7 +5136,7 @@ export function preconnect(href: string, options?: ?PreconnectOptions) {
51365136
}
51375137
}
51385138

5139-
export function preload(href: string, options: PreloadOptions) {
5139+
function preload(href: string, options: PreloadOptions) {
51405140
if (!enableFloat) {
51415141
return;
51425142
}

0 commit comments

Comments
 (0)