Skip to content

Commit fade5d4

Browse files
committed
fix bug
1 parent 129ff41 commit fade5d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,7 @@ export async function renderToHTML(
759759
}
760760

761761
const invalidKeys = Object.keys(data).filter(
762-
(key) =>
763-
key !== 'props' && key !== 'unstable_redirect' && key !== 'notFound'
762+
(key) => key !== 'props' && key !== 'redirect' && key !== 'notFound'
764763
)
765764

766765
if ((data as any).unstable_notFound) {

0 commit comments

Comments
 (0)