Skip to content

Commit 9c45cf0

Browse files
committed
Revert "types"
This reverts commit a12c76a.
1 parent 906896c commit 9c45cf0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/next/src/lib/metadata/metadata.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,6 @@ export function createMetadataComponents({
129129
return null
130130
}
131131

132+
// @ts-expect-error async server components
132133
return [MetadataTree, MetadataOutlet]
133134
}

packages/next/src/server/app-render/app-render.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ export async function renderToHTMLOrFlight(
11051105
isPrefetch && !Boolean(components.loading)
11061106
? null
11071107
: // Create component tree using the slice of the loaderTree
1108-
1108+
// @ts-expect-error TODO-APP: fix async component type
11091109
React.createElement(async () => {
11101110
const { Component } = await createComponentTree(
11111111
// This ensures flightRouterPath is valid and filters down the tree

0 commit comments

Comments
 (0)