Skip to content

Commit

Permalink
chore: bump react dev dep to 18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jun 14, 2022
1 parent f17f1d4 commit 3f6d231
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 65 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@
"pretty-bytes": "5.3.0",
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "18.1.0",
"react": "18.2.0",
"react-17": "npm:react@17.0.2",
"react-dom": "18.1.0",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export default async function middlewareSSRLoader(this: any) {

const transformed = `
import { adapter } from 'next/dist/server/web/adapter'
import { RouterContext } from 'next/dist/shared/lib/router-context'
import { getRender } from 'next/dist/build/webpack/loaders/next-middleware-ssr-loader/render'
import Document from ${stringifiedDocumentPath}
Expand Down

0 comments on commit 3f6d231

Please sign in to comment.