Skip to content

Commit

Permalink
fix-scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
meetarora10 committed Sep 4, 2024
1 parent fcc3a6d commit d2e2b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/Committee.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { useState, useEffect, useRef } from 'react';
import './style.css';

const Committee = () => {
const [activeCommittee, setActiveCommittee] = useState('committee0'); // Default to 'committee0'
const [activeTab, setActiveTab] = useState('committee0'); // Default to 'committee0'
const [activeCommittee, setActiveCommittee] = useState(null); // Default to 'committee0'
const [activeTab, setActiveTab] = useState(null); // Default to 'home'
const listRef = useRef(null);

const changeTab = (id) => {
Expand Down

0 comments on commit d2e2b30

Please sign in to comment.