Skip to content

Commit

Permalink
fix: group result chunks undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-harris authored and skeptrunedev committed Jan 8, 2025
1 parent 3f953b7 commit 4efa90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/search/src/components/ResultsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ const ResultsPage = (props: ResultsPageProps) => {
void response.json().then((data) => {
let resultingChunks: any = [];
if (groupUnique) {
const groupResult = data.results as GroupScoreChunkDTO[];
const groupResult = data.chunks as GroupScoreChunkDTO[];
setTotalPages(data.total_pages);
setSearchID(data.id);
setCorrectedQuery(data.corrected_query);
Expand Down

0 comments on commit 4efa90e

Please sign in to comment.