diff --git a/src/components/AttributionForm/index.tsx b/src/components/AttributionForm/index.tsx index 7d1f8c6eaec09bc439f1fbe69b81557395c03752..dab5b7a29d42583ceb5cef276b0bc62ec1465e1a 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 035589fee93bc0abede6a8880ee701cefc7ee127..ca5982def01d3da1b569b3915dcb4d2ee99ffd52 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>