Unverified Commit 162342c8 authored by Abdul Haseeb's avatar Abdul Haseeb Committed by GitHub

examples: fix hydration error on DOM element nesting (#66868)

Co-authored-by: 's avatarAbdul Haseeb <121640819+abdulhaseeb-codes@users.noreply.github.com>
Co-authored-by: 's avatarLee Robinson <me@leerob.io>
parent 8d6632cc
......@@ -13,12 +13,14 @@ export default async function IndexPage({
return (
<div>
<LocaleSwitcher />
<p>Current locale: {lang}</p>
<p>
This text is rendered on the server:{" "}
{dictionary["server-component"].welcome}
</p>
<Counter dictionary={dictionary.counter} />
<div>
<p>Current locale: {lang}</p>
<p>
This text is rendered on the server:{" "}
{dictionary["server-component"].welcome}
</p>
<Counter dictionary={dictionary.counter} />
</div>
</div>
);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment