next.js/test/e2e/app-dir/parallel-routes-revalidation/app/refreshing/layout.tsx
layout.tsx20 lines339 B
import Link from 'next/link'

export const dynamic = 'force-dynamic'

export default function Layout({
  children,
  modal,
}: {
  children: React.ReactNode
  modal: React.ReactNode
}) {
  return (
    <div>
      <div>{children}</div>
      <div>{modal}</div>
      <Link href="/refreshing/other">Go to Other Page</Link>
    </div>
  )
}
Quest for Codev2.0.0
/
SIGN IN