Skip to content

Commit e4cdae2

Browse files
committed
cleanup
1 parent 5f0d75c commit e4cdae2

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

packages/react-dom/src/server/ReactDOMServerFormatConfig.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,6 @@ export function createRootFormatContext(namespaceURI?: string): FormatContext {
217217
return createFormatContext(insertionMode, null);
218218
}
219219

220-
export function isHeadElement(type: string): boolean {
221-
return type === 'head';
222-
}
223-
224220
export function getChildFormatContext(
225221
parentContext: FormatContext,
226222
type: string,
@@ -1608,7 +1604,6 @@ export function pushEndInstance(
16081604
postlude: Array<Chunk | PrecomputedChunk>,
16091605
type: string,
16101606
props: Object,
1611-
formatContext: FormatContext,
16121607
): void {
16131608
target = isPostludeInsertion(type) ? postlude : target;
16141609
switch (type) {

packages/react-dom/src/shared/ReactDOMFloat.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,3 @@ function preinit() {
6363
);
6464
}
6565
}
66-
67-
export {prefetchDNS, preconnect, prefetch, preload, preinit};

0 commit comments

Comments
 (0)