mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
15 lines
324 B
React
15 lines
324 B
React
import React from 'react'
|
|
import { Dynamic } from '../../../../components/dynamic'
|
|
|
|
export default async (props) => {
|
|
const params = await props.params
|
|
|
|
const { slug } = params
|
|
|
|
return <Dynamic pathname={`/no-suspense/nested/${slug}`} />
|
|
}
|
|
|
|
export const generateStaticParams = async () => {
|
|
return [{ slug: 'a' }]
|
|
}
|