/**
* DebugView -- displays raw lore data for debugging.
*
* Shows the raw JSON response from get_lore_status for visual
* verification that the data pipeline is working end-to-end.
* Access via the debug view in the navigation.
*/
import { useLoreData } from "@/hooks/useLoreData";
export function DebugView(): React.ReactElement {
const { data, isLoading, error, refetch } = useLoreData();
if (isLoading) {
return (