"use client"; export interface HistoryUnlockDialogProps { open: boolean; lockedCount: number; isLoading?: boolean; errorMessage?: string | null; onClose: () => void; onConfirm: () => void; } export function HistoryUnlockDialog({ open, lockedCount, isLoading = false, errorMessage, onClose, onConfirm, }: HistoryUnlockDialogProps) { if (!open) return null; return (
We found {lockedCount} locked messages in your chat history. You can unlock them now to continue the conversation with full context.
{errorMessage ? ({errorMessage}
) : null}