diff --git a/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js b/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js index b87f95ade0..f7d9631ef9 100644 --- a/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js +++ b/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js @@ -25,6 +25,6 @@ const stateCodes = } const entries = Object.entries(totals) return entries.map(([state, count]) => - {const stateCode = stateCodes[state.toLowerCase()] + {stateCodes[state.toLowerCase()] return { state, count, flag: "http://flags.ox3.in/svg/us/${stateCode}.svg" } })