111 / src /app /page.tsx
12stgss's picture
Duplicate from 12stgss/1211
7ed58c4
raw
history blame contribute delete
285 Bytes
import dynamic from 'next/dynamic'
const DynamicComponentWithNoSSR = dynamic(
() => import('../components/chat'),
{ ssr: false }
)
export default function IndexPage() {
return (
<>
<div className="loading-spinner" />
<DynamicComponentWithNoSSR />
</>
)
}