From ff2febf957c69d4d791c2a7c6ddbc52d3749cb77 Mon Sep 17 00:00:00 2001 From: Jack Hansen <47556286+jackavh@users.noreply.github.com> Date: Wed, 29 May 2024 14:55:19 -0700 Subject: [PATCH] edit background header component to use firebase images --- frontend/src/components/BackgroundHeader.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/components/BackgroundHeader.tsx b/frontend/src/components/BackgroundHeader.tsx index a6214dfa..b1f6175e 100644 --- a/frontend/src/components/BackgroundHeader.tsx +++ b/frontend/src/components/BackgroundHeader.tsx @@ -21,13 +21,6 @@ const BackgroundHeader = ({ interval = 5000, button = null, }: BackgroundHeaderProps) => { - backgroundImageURIs = [ - "back1.png", - "back2.jpeg", - "back3.png", - // Add more URIs as needed - ]; - const [activeIndex, setActiveIndex] = useState(0); const nextSlide = () => { @@ -43,6 +36,7 @@ const BackgroundHeader = ({ }; }, [backgroundImageURIs.length, interval]); + console.log(backgroundImageURIs[activeIndex]); return (
{backgroundImageURIs.map((uri, index) => (