解决构建报错问题

This commit is contained in:
Eamon-meng
2026-04-23 14:09:38 +08:00
parent 1e76275f04
commit 165151b9d2
3 changed files with 7 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import {ReactNode} from 'react'
import {ReactNode, Suspense} from 'react'
import {Shell, Content, Header, Navbar, Mask} from './clients'
export default function Template(props: {
@@ -13,7 +13,9 @@ export default function Template(props: {
</div>
<div className="col-start-2 row-start-1 bg-card overflow-hidden relative z-20">
<Header/>
<Suspense>
<Header/>
</Suspense>
</div>
<svg className="col-start-2 row-start-2 w-full h-full z-20 pointer-events-none" preserveAspectRatio="none">