Skip to content

Commit

Permalink
Remove unused vars and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tewson committed Apr 4, 2024
1 parent 504c27d commit 8b818dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/pages/candidates/[candidate].astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import { type Record as AirtableRecord, type FieldSet } from "airtable";
import lodash from "lodash";
import {
Expand Down Expand Up @@ -47,7 +46,7 @@ export async function getStaticPaths() {
getLookupFieldValue(questionRecord, "Local authority name") ===
getLookupFieldValue(candidateRecord, "Area local authority name")
)
.map((questionRecord, index) => {
.map((questionRecord) => {
const answerRecord = answerRecords.filter((answerRecord) => {
return (
getLookupFieldValue(answerRecord, "Candidate full name") ===
Expand Down
2 changes: 0 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
import lodash from "lodash";
import {
airtableClient,
getLookupFieldValue,
Expand Down

0 comments on commit 8b818dc

Please sign in to comment.