mirror of
https://github.com/supabase/supabase.git
synced 2026-09-22 13:37:53 +08:00
23fd9a3a8e
* Randomize the chat. * another try. * Try another fix. * Fix the docs pages.
13 lines
389 B
TypeScript
13 lines
389 B
TypeScript
import { BlockPreview } from './block-preview'
|
|
|
|
export function DualRealtimeChat() {
|
|
const roomName = `room-${Math.floor(Math.random() * 1000)}`
|
|
|
|
return (
|
|
<div className="flex flex-row -space-x-px w-full">
|
|
<BlockPreview name={`realtime-chat-demo?roomName=${roomName}`} isPair />
|
|
<BlockPreview name={`realtime-chat-demo?roomName=${roomName}`} isPair />
|
|
</div>
|
|
)
|
|
}
|