next.js / test /development /acceptance-app /fixtures /hydration-errors /app /(default) /extra-element-client /page.tsx
| 'use client' | |
| const isClient = typeof window !== 'undefined' | |
| export default function Mismatch() { | |
| return <div className="parent">{isClient && <main className="only" />}</div> | |
| } | |