From 3dbb8edffb16f21a53f8e5838adeea450730071a Mon Sep 17 00:00:00 2001 From: Kevin Wu Date: Sun, 31 Mar 2024 12:16:25 -0700 Subject: [PATCH] chore: remove unused imports (#78) --- src/app/pages/Designathons/Designathon24/Designathon24.js | 5 ----- .../Designathon24/components/Notecard/Notecard.jsx | 2 +- .../Designathon24/components/Speakers/Speakers.jsx | 6 ++---- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/app/pages/Designathons/Designathon24/Designathon24.js b/src/app/pages/Designathons/Designathon24/Designathon24.js index 0deb59b8..8aa04339 100644 --- a/src/app/pages/Designathons/Designathon24/Designathon24.js +++ b/src/app/pages/Designathons/Designathon24/Designathon24.js @@ -1,8 +1,5 @@ import { Section } from "app/Symbols"; -import { Text } from "app/components"; import EVENTS_2024 from "assets/data/designathon/2024/events.json"; -import WINNERS_2024 from "assets/data/designathon/2024/winners.json"; -import TIMER_2024 from "assets/data/designathon/2024/timer.json"; import PRIZES_2024 from "assets/data/designathon/2024/prizes.json"; import cn from "./Designathon24.module.scss"; import FOF from "./assets/FOF.png"; @@ -14,8 +11,6 @@ import { SectionNavigation, FAQ, Rules, - Timer, - WinnerShowcase, Speakers, } from "./components"; import Schedule from "./components/Schedule"; diff --git a/src/app/pages/Designathons/Designathon24/components/Notecard/Notecard.jsx b/src/app/pages/Designathons/Designathon24/components/Notecard/Notecard.jsx index 8256dd56..b96730db 100644 --- a/src/app/pages/Designathons/Designathon24/components/Notecard/Notecard.jsx +++ b/src/app/pages/Designathons/Designathon24/components/Notecard/Notecard.jsx @@ -12,7 +12,7 @@ const Notecard = ({ children, modalCard, lineAdjustment, toggleProfile }) => { const { lines, notecardLineTop, notecardLineHeight } = useNotecardLines( notecardRef, - textRef + textRef, ); return ( diff --git a/src/app/pages/Designathons/Designathon24/components/Speakers/Speakers.jsx b/src/app/pages/Designathons/Designathon24/components/Speakers/Speakers.jsx index 2eba5df0..9e45c32a 100644 --- a/src/app/pages/Designathons/Designathon24/components/Speakers/Speakers.jsx +++ b/src/app/pages/Designathons/Designathon24/components/Speakers/Speakers.jsx @@ -1,8 +1,6 @@ import cn from "./Speakers.module.scss"; import clsx from "clsx"; -import { useRef } from "react"; - import Polaroid from "../Polaroid/Polaroid"; import splat from "../../assets/graphics/speakers/splat.svg"; @@ -35,7 +33,7 @@ const Speakers = () => { className={clsx( cn.decoration, cn.tr_pencil_star_stripe, - "wait flopR" + "wait flopR", )} /> { cn.decoration, cn.m, cn.star_stripe, - "wait flopR" + "wait flopR", )} />