// SecretRow.tsx // Displays a single secret with discovered checkbox and text. import type { Secret } from "@/lib/types"; /** * Renders a secret row with a discovered checkbox and secret text. * Handles updating the discovered state and discoveredIn relationship. */ export const SecretPrintRow = ({ secret }: { secret: Secret }) => { return (
  • {(secret.data as any)?.secret?.text || ( (No secret text) )}
  • ); };