mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-21 12:55:09 +00:00
* fix: move suspense boundary closer to corresponding pages * fix: pre-resolve the client via singleton to speed up the clientPromise * feat: apply theme background faster with plain script * chore: update biome version * feat: make rpc client persist promise with useMemo and remove loading text * fix: replace dvh with vh * fix: replace dvh with vh in create graph
14 lines
385 B
TypeScript
14 lines
385 B
TypeScript
import { type FC, Suspense } from 'react'
|
|
import { RpcClientProvider } from '@/lib/rpc/RpcClientProvider'
|
|
import { CreateGraph } from './CreateGraph'
|
|
|
|
export const CreateGraphWrapper: FC = () => {
|
|
return (
|
|
<RpcClientProvider>
|
|
<Suspense fallback={<div className="h-screen w-screen bg-background" />}>
|
|
<CreateGraph />
|
|
</Suspense>
|
|
</RpcClientProvider>
|
|
)
|
|
}
|