Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Oct 22, 2022
1 parent 075f1ad commit b91e3f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/server/app-render.tsx
Expand Up @@ -996,7 +996,7 @@ export async function renderToHTMLOrFlight(
if (dev) {
const { isValidElementType } = require('next/dist/compiled/react-is')
if (
typeof Component !== 'undefined' &&
(isPage || typeof Component !== 'undefined') &&
!isValidElementType(Component)
) {
throw new Error(
Expand Down
@@ -1 +1 @@
export default 'invalid-page-export'
export const a = 123

0 comments on commit b91e3f3

Please sign in to comment.