'use client'; import { Button } from './ui/button'; /** A local acknowledgement: polling and game actions do not dismiss this text. */ export function RoomEntryConfirmation({ kind, code, onContinue }: { kind: 'create' | 'join'; code: string; onContinue: () => void; }) { return

{kind === 'create' ? 'Room created' : 'Room joined'}

{kind === 'create' ? <>Room {code} is ready. Share the room code or invitation link from the lobby so others can join. : <>You have joined room {code}. Your faction and the rules are shown at the table.}

Use Protect your saved seat to keep a recovery kit. This message stays until you select Continue.

; }