Skip to content

Commit

Permalink
Revert "fix: group result chunks undefined"
Browse files Browse the repository at this point in the history
This reverts commit 4efa90e.
  • Loading branch information
cdxker authored and skeptrunedev committed Jan 9, 2025
1 parent 9109217 commit b6e7409
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.chunks as GroupScoreChunkDTO[];
const groupResult = data.results as GroupScoreChunkDTO[];
setTotalPages(data.total_pages);
setSearchID(data.id);
setCorrectedQuery(data.corrected_query);
Expand Down

0 comments on commit b6e7409

Please sign in to comment.