Skip to content

Commit

Permalink
rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 18, 2023
1 parent a465b14 commit 428f995
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/next/src/server/app-render/app-render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1662,8 +1662,6 @@ export async function renderToHTMLOrFlight(

const renderDefault404 = isMetadataNotFound || (is404 && !NotFound)

console.log('renderDefault404', renderDefault404)

// Preserve the existing RSC inline chunks from the page rendering.
// For 404 errors: the metadata from layout can be skipped with the error page.
// For other errors (such as redirection): it can still be re-thrown on client.
Expand Down Expand Up @@ -1720,12 +1718,6 @@ export async function renderToHTMLOrFlight(
)

const GlobalNotFound = NotFound || DefaultNotFound
console.log(
'RootLayout',
RootLayout,
'GlobalNotFound',
GlobalNotFound
)
const notFoundElement = (
<RootLayout params={{}}>
{notFoundStyles}
Expand Down

0 comments on commit 428f995

Please sign in to comment.