fixed subteams: fixed comments to be more accurate

This commit is contained in:
darkicewolf50 2024-03-23 15:15:06 -06:00
parent 66cd3fb13d
commit 22cfe295f9

View File

@ -8,7 +8,7 @@ import leadershipData from "../MockDB/SubTeams.yml";
* @returns {JSX.Element} page - page content * @returns {JSX.Element} page - page content
* @description the subteams page * @description the subteams page
* @author Brock <darkicewolf50@gmail.com> * @author Brock <darkicewolf50@gmail.com>
* @todo add gPRC to backend and css * @todo add gPRC to backend and any remaining css
*/ */
const SubTeams = () => { const SubTeams = () => {
const [subteamsDict, setSubteamsDict] = useState(); const [subteamsDict, setSubteamsDict] = useState();
@ -42,7 +42,6 @@ const SubTeams = () => {
* @returns {null} null - moves screen to a specific subteam section * @returns {null} null - moves screen to a specific subteam section
* @description moves screen to the subteam's section upon click * @description moves screen to the subteam's section upon click
* @author Brock <darkicewolf50@gmail.com> * @author Brock <darkicewolf50@gmail.com>
* @todo add css pointer talbe elements
*/ */
const ScrolltoSubteamSection = (index) => { const ScrolltoSubteamSection = (index) => {
const section = document.querySelectorAll(".subteamTitle")[index]; const section = document.querySelectorAll(".subteamTitle")[index];