File size: 285 Bytes
432aa19 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import dynamic from 'next/dynamic'
const DynamicComponentWithNoSSR = dynamic(
() => import('../components/chat'),
{ ssr: false }
)
export default function IndexPage() {
return (
<>
<div className="loading-spinner" />
<DynamicComponentWithNoSSR />
</>
)
}
|