diff --git a/frontend/src/routes/profile/ElectionCardWrapperComponent.vue b/frontend/src/routes/profile/ElectionCardWrapperComponent.vue index 9d2bb25ce..aabb5ab7b 100644 --- a/frontend/src/routes/profile/ElectionCardWrapperComponent.vue +++ b/frontend/src/routes/profile/ElectionCardWrapperComponent.vue @@ -31,8 +31,7 @@ const calculator = calculators.find( ); const { election, candidates } = await deprecatedFetchCalculator( - calculator?.election_id as string, - calculator?.district_code as string, + calculator?.key as string, ); // const election = calc ? calc.election : null;