mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
* Bump nextjs in the ui-library. * Bump the nextjs in design-system. * Bump nextjs to v15 in www. * Bump the next version in the pnpm catalog. * Switch all apps to using the catalog version of next. * Fix ui-lib and design-system to build with next 15. * Fix some prettier errors. * Bump the next-eslint package. * Fix a lint issue about a component starting with underscore. * Use the catalog version of next in cms app. * Disable turbo for dev command in www. Remove obsolete experimental flags. * Return some of the experimental flags.
11 lines
380 B
TypeScript
11 lines
380 B
TypeScript
import Demo from '@/registry/default/examples/realtime-chat-demo'
|
|
|
|
const RealtimeChatDemoPage = async (props: { searchParams: Promise<{ roomName: string }> }) => {
|
|
const searchParams = await props.searchParams
|
|
const roomName = searchParams['roomName'] || `room-${Math.floor(Math.random() * 1000)}`
|
|
|
|
return <Demo roomName={roomName} />
|
|
}
|
|
|
|
export default RealtimeChatDemoPage
|