vercel / next.js

The React Framework
https://nextjs.org
MIT License
125.09k stars 26.72k forks source link

Update page.tsx - Fixing hydration error #66868

Closed abdull-haseeb closed 1 month ago

abdull-haseeb commented 3 months ago

Hydration Error Fixed

Added div tag around p tags to fix hydration error.

ijjk commented 3 months ago

Allow CI Workflow Run

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

abdull-haseeb commented 3 months ago

hydration error fixed in i18n-app example

samcx commented 3 months ago

@abdulhaseeb-codes Can you provide evidence in the PR's description that this is causing a hydration error?

abdull-haseeb commented 3 months ago

You can run it locally.

samcx commented 3 months ago

@abdulhaseeb-codes Yes that's true, but we expect the description to be descriptive and share the findings you've found—it's why we require issues to include a :repro:.

We cannot test every :pr: and issue ourselves (e.g., we usually trust the community to work through these, so at least if we do attempt it, we have a :repro: to clone or a video to confirm), so it's best we require this from our OS community, in order for us to get through these as efficiently as possible.

abdull-haseeb commented 3 months ago

Thank you, I was just trying to stop this error for other beginners like me