From 07c2f155f5f2b590cb2766e988a12e0e8c07b176 Mon Sep 17 00:00:00 2001 From: FordoA455 Date: Tue, 19 Nov 2024 14:32:30 -0800 Subject: [PATCH] Fixing lint issues Signed-off-by: FordoA455 --- src/App.tsx | 6 ++---- src/components/Navbar.tsx | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 034c392..ef372ee 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import react, { useState, useRef } from 'react'; +import { useState, useRef } from 'react'; import "./App.css"; import Button from "@mui/joy/Button"; import arrow from "./images/arrow.png"; @@ -6,7 +6,6 @@ import Navbar from "./components/Navbar"; import Footer from "./components/Footer"; function App() { - const [selectedScrollOption, setSelectedScrollOption] = useState(""); const home = useRef(null); const info = useRef(null); const schedule = useRef(null); @@ -22,7 +21,6 @@ function App() { }; const handleOptionChange = (option: any) => { - setSelectedScrollOption(option); if (option === 'home') { scroll(home); } else if (option === "info") { @@ -55,7 +53,7 @@ function App() { href="https://docs.google.com/forms/d/e/1FAIpQLSefTr6730BXSMYYdAnDXS5hFu_NZ5FHyzNYkv2MYqZoxvkgyQ/viewform" > ALERT ME - + arrow-icon
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 9a64b2a..cf0d4ca 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -46,7 +46,7 @@ export default function Navbar({ onOptionSelect }: any) { return (
- + mvhackslogo onOptionSelect('home')}> MV HACKS 8.0