Subhadip007 commited on
Commit
5900d1e
·
1 Parent(s): 3394ee5

fix(ui): remove undefined yearFilter from frontend api call

Browse files
Files changed (1) hide show
  1. frontend-next/app/page.tsx +1 -2
frontend-next/app/page.tsx CHANGED
@@ -296,8 +296,7 @@ export default function App() {
296
  body: JSON.stringify({
297
  question: originalQuery,
298
  top_k: topK,
299
- filter_category: category === "All" ? undefined : category,
300
- filter_year_gte: yearFilter ? yearFrom : undefined
301
  })
302
  });
303
 
 
296
  body: JSON.stringify({
297
  question: originalQuery,
298
  top_k: topK,
299
+ filter_category: category === "All" ? undefined : category
 
300
  })
301
  });
302