error with NextSSRPlugin
getting weird SSR/hydration related errors when using it with react-hook-form
Warning: Prop `accept` did not match. Server: "" Client: "image/*"
at input
at label
at div
at UploadButton (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]/node_modules/@uploadthing/react/dist/index.mjs:71:59)
at div
at form
at FormProvider (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected]/node_modules/react-hook-form/dist/index.esm.mjs:182:13)
at SettingsForm (webpack-internal:///(app-pages-browser)/./src/components/my/SettingsForm.tsx:52:11)
at Suspense
at section
at main
at InnerLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/layout-router.js:241:11)
at RedirectErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/redirect-boundary.js:72:9)
at RedirectBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/redirect-boundary.js:80:11)
at NotFoundBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/not-found-boundary.js:62:11)
at LoadingBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/layout-router.js:338:11)
Warning: Prop `accept` did not match. Server: "" Client: "image/*"
at input
at label
at div
at UploadButton (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]/node_modules/@uploadthing/react/dist/index.mjs:71:59)
at div
at form
at FormProvider (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected]/node_modules/react-hook-form/dist/index.esm.mjs:182:13)
at SettingsForm (webpack-internal:///(app-pages-browser)/./src/components/my/SettingsForm.tsx:52:11)
at Suspense
at section
at main
at InnerLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/layout-router.js:241:11)
at RedirectErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/redirect-boundary.js:72:9)
at RedirectBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/redirect-boundary.js:80:11)
at NotFoundBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/not-found-boundary.js:62:11)
at LoadingBoundary (webpack-internal:///(app-pages-browser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/layout-router.js:338:11)
0 Replies