From ddceec1e0db289fdce371baab34e03558cc59cce Mon Sep 17 00:00:00 2001 From: pjsier Date: Thu, 7 Nov 2024 17:07:10 -0500 Subject: [PATCH] style: fix lint error --- client/src/actions/search.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/src/actions/search.js b/client/src/actions/search.js index 0df46fe..7ff3578 100644 --- a/client/src/actions/search.js +++ b/client/src/actions/search.js @@ -189,9 +189,6 @@ export function handleAllTotalsQuery(year) { const res = await APISearchQueryFromRoute( `/api/general?type=all-totals&year=${year}` ) - const yearRecord = res.speculationByYear.find( - ({ year: recYear }) => +year == recYear - ) dispatch( updateAllTotals({