import { useState, useEffect } from "react"; const streams = [ { id: "aramstream", label: "Aram" }, { id: "generalstream", label: "General" }, { id: "gueststream", label: "Guest" }, ]; export default function Stream() { const [activeStream, setActiveStream] = useState("aramstream"); useEffect(() => { window.scrollTo({ top: 0, behavior: "smooth" }); }, [activeStream]); return (