diff --git a/.eslintrc.js b/.eslintrc.js
index 91c15ff..57c6bb1 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -17,7 +17,11 @@ module.exports = {
project: './tsconfig.json',
},
plugins: ['import', 'react', '@typescript-eslint'],
-
+ settings: {
+ react: {
+ version: 'detect', // Automatically detect the React version
+ },
+ },
rules: {
//yoinked from TLA, CreativeLabs, Opensource starters
// A few more opinions in addition to extensions
@@ -26,7 +30,7 @@ module.exports = {
'react/react-in-jsx-scope': 'off',
'react/jsx-uses-react': 'off',
- 'linebreak-style': ['error', 'unix'],
+ 'linebreak-style': 'off', // Disable linebreak-style rule
'@typescript-eslint/no-require-imports': ['error'],
diff --git a/.husky/pre-commit b/.husky/pre-commit
old mode 100755
new mode 100644
diff --git a/components/Footer.tsx b/components/Footer.tsx
index ca9d12c..11fd928 100644
--- a/components/Footer.tsx
+++ b/components/Footer.tsx
@@ -56,7 +56,7 @@ const Footer = () => {
diff --git a/getOfficers.ts b/getOfficers.ts
index 9ca409f..8af8059 100644
--- a/getOfficers.ts
+++ b/getOfficers.ts
@@ -1,91 +1,32 @@
import * as dotenv from 'dotenv';
-import { google } from 'googleapis';
// .env config
dotenv.config({ path: '.env.local' });
-const SPREADSHEET_ID = process.env.DIRECTORY_SPREADSHEET_ID;
-const SERVICE_ACCOUNT = process.env.SERVICE_ACCOUNT ?? '{}';
export default async function getOfficerData(
committeeName: string,
): Promise