From 28108ab7c9aede2dd48f5ebc32c155968c44e5ee Mon Sep 17 00:00:00 2001 From: pratyush1718 Date: Sun, 28 Apr 2024 21:09:31 -0700 Subject: [PATCH] lint fixes --- admin-portal-frontend/src/app/components/VerticalNavBar.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/admin-portal-frontend/src/app/components/VerticalNavBar.tsx b/admin-portal-frontend/src/app/components/VerticalNavBar.tsx index a3da758..9b5ce78 100644 --- a/admin-portal-frontend/src/app/components/VerticalNavBar.tsx +++ b/admin-portal-frontend/src/app/components/VerticalNavBar.tsx @@ -5,7 +5,7 @@ import HomeComponent from './HomeComponent'; import React, { ReactNode } from 'react'; import Accordion from 'react-bootstrap/Accordion'; import 'bootstrap/dist/css/bootstrap.css'; -import { Card, useAccordionButton } from 'react-bootstrap'; +import { Card } from 'react-bootstrap'; import GpComponent from './GPComponent'; import SearchComponent from './SearchComponent'; @@ -13,11 +13,10 @@ import SearchComponent from './SearchComponent'; const VerticalNavBar: React.FC = () => { interface CustomAccordionProps { - eventKey: string; children: ReactNode; } - const CustomAccordion = ({ eventKey, children }: CustomAccordionProps) => { + const CustomAccordion = ({ children }: CustomAccordionProps) => { //const decoratedOnClick = useAccordionButton(eventKey, () => {}); return (