We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 906896c commit 9c45cf0Copy full SHA for 9c45cf0
packages/next/src/lib/metadata/metadata.tsx
@@ -129,5 +129,6 @@ export function createMetadataComponents({
129
return null
130
}
131
132
+ // @ts-expect-error async server components
133
return [MetadataTree, MetadataOutlet]
134
packages/next/src/server/app-render/app-render.tsx
@@ -1105,7 +1105,7 @@ export async function renderToHTMLOrFlight(
1105
isPrefetch && !Boolean(components.loading)
1106
? null
1107
: // Create component tree using the slice of the loaderTree
1108
-
+ // @ts-expect-error TODO-APP: fix async component type
1109
React.createElement(async () => {
1110
const { Component } = await createComponentTree(
1111
// This ensures flightRouterPath is valid and filters down the tree
0 commit comments