'use client' interface QueryHistoryPanelProps { history: string[] onInsert: (query: string) => void onClear: () => void } export function QueryHistoryPanel({ history, onInsert, onClear }: QueryHistoryPanelProps) { return (

Recent queries

{history.length === 0 ? (

Run queries to build a local history.

) : ( )}
) }