(index: number, href: string)
| 29 | }, [pathname, optionsData]); |
| 30 | |
| 31 | const handleOptionClick = (index: number, href: string) => { |
| 32 | setActiveOption(index); |
| 33 | router.push(href); |
| 34 | }; |
| 35 | return ( |
| 36 | <div className="flex gap-2 flex-col px-2 !max-h-[80%] overflow-y-auto w-full"> |
| 37 | {optionsData.map((x, i) => { |