mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This copies over the E2E tests that were added to `vercel/vercel` in https://github.com/vercel/vercel/pull/10808 and https://github.com/vercel/vercel/pull/10823, with some minor adjustments to reflect the differences in cache behavior between start & deploy.
11 lines
300 B
React
11 lines
300 B
React
import React, { Suspense } from 'react'
|
|
import { Dynamic } from '../../../components/dynamic'
|
|
|
|
export default ({ params: { slug } }) => {
|
|
return (
|
|
<Suspense fallback={<Dynamic pathname={`/on-demand/${slug}`} fallback />}>
|
|
<Dynamic pathname={`/on-demand/${slug}`} />
|
|
</Suspense>
|
|
)
|
|
}
|