From 8769242b28714ada7e7f91bfe94068852070777e Mon Sep 17 00:00:00 2001
From: Tianyi LIANG <tianyi@igem.org>
Date: Fri, 17 May 2024 23:16:01 +0800
Subject: [PATCH] refactor: camelCase

---
 src/components/AttributionForm/index.tsx |  4 ++--
 src/components/Footer/index.tsx          | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/components/AttributionForm/index.tsx b/src/components/AttributionForm/index.tsx
index 7d1f8c6..dab5b7a 100644
--- a/src/components/AttributionForm/index.tsx
+++ b/src/components/AttributionForm/index.tsx
@@ -1,5 +1,5 @@
 function AttributionForm() {
-  const team_id = import.meta.env.VITE_TEAM_ID;
+  const teamID = import.meta.env.VITE_TEAM_ID;
 
   // Listen to size change and update form height
   window.addEventListener("message", function (e) {
@@ -19,7 +19,7 @@ function AttributionForm() {
       <iframe
         style={{ width: "100%" }}
         id="igem-attribution-form"
-        src={`https://teams.igem.org/${team_id}/attributions`}
+        src={`https://teams.igem.org/${teamID}/attributions`}
       />
     </>
   );
diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx
index 035589f..ca5982d 100644
--- a/src/components/Footer/index.tsx
+++ b/src/components/Footer/index.tsx
@@ -1,9 +1,9 @@
 import { stringToSlug } from "../../utils";
 
 function ExampleFooter() {
-  const team_year = import.meta.env.VITE_TEAM_YEAR;
-  const team_name = import.meta.env.VITE_TEAM_NAME;
-  const team_slug = stringToSlug(team_name);
+  const teamYear = import.meta.env.VITE_TEAM_YEAR;
+  const teamName = import.meta.env.VITE_TEAM_NAME;
+  const teamSlug = stringToSlug(teamName);
 
   return (
     <footer className="pt-5 pb-5 footer py-5 mt-5 bg-dark text-white">
@@ -66,8 +66,8 @@ function ExampleFooter() {
             <p>
               <small>
                 The repository used to create this website is available at{" "}
-                <a href={`https://gitlab.igem.org/${team_year}/${team_slug}`}>
-                  gitlab.igem.org/{team_year}/{team_slug}
+                <a href={`https://gitlab.igem.org/${teamYear}/${teamSlug}`}>
+                  gitlab.igem.org/{teamYear}/{teamSlug}
                 </a>
                 .
               </small>
-- 
GitLab