Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hydration error: Warning: Prop style did not match. Server (caused by Depth Section) #6

Open
ChrisCrossCrash opened this issue Jul 19, 2023 · 0 comments

Comments

@ChrisCrossCrash
Copy link
Owner

There is a React hydration error originating in the Depth Section component of the hero section. This is likely an issue with the Depth Section library. It does not cause any noticeable problems on the page.

Here is the console error:

Warning: Prop `style` did not match. Server: "position:relative;width:100%;height:100%;overflow:hidden;pointer-events:auto" Client: "position:relative;width:100%;height:100%;overflow:hidden;pointer-events:auto;background-color:"
    at div
    at Canvas (webpack-internal:///./node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js:143:3)
    at FiberProvider (webpack-internal:///./node_modules/.pnpm/[email protected][email protected]/node_modules/its-fine/dist/index.js:69:1)
    at CanvasWrapper
    at div
    at j (webpack-internal:///./node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/depth-section/dist/esm/index.mjs:21:2200)
    at R (webpack-internal:///./node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/depth-section/dist/esm/index.mjs:21:6456)
    at DepthSectionMario (webpack-internal:///./components/Hero/DepthSectionMario.tsx:59:28)
    at div
    at Hero
    at Home
    at MyApp (webpack-internal:///./pages/_app.tsx:33:11)
    at PathnameContextProviderAdapter (webpack-internal:///./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/adapters.js:74:11)
    at ErrorBoundary (webpack-internal:///./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:306:63)
    at ReactDevOverlay (webpack-internal:///./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:858:919)
    at Container (webpack-internal:///./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/client/index.js:92:1)
    at AppContainer (webpack-internal:///./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/client/index.js:222:11)
    at Root (webpack-internal:///./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/client/index.js:405:11) 

See more info here: https://nextjs.org/docs/messages/react-hydration-error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant