Álvaro Valenzuela Valdes commited on
Commit
dd3ded3
·
1 Parent(s): 909f192

fix: build error in AnalysisHistory (missing prop destructuring)

Browse files
frontend/components/AnalysisHistory.tsx CHANGED
@@ -6,7 +6,7 @@ type Props = {
6
  searchHistory?: any[];
7
  };
8
 
9
- export default function AnalysisHistory({ history }: Props) {
10
  const [expandedItems, setExpandedItems] = useState<string[]>([]);
11
 
12
  const toggleExpand = (id: string) => {
 
6
  searchHistory?: any[];
7
  };
8
 
9
+ export default function AnalysisHistory({ history, searchHistory }: Props) {
10
  const [expandedItems, setExpandedItems] = useState<string[]>([]);
11
 
12
  const toggleExpand = (id: string) => {