Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.

Commit c61193a

Browse files
author
Max Leiter
authored
Remove auto scroll of schedule temporarily (#600)
1 parent 7edda01 commit c61193a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • components/hackerDashboard/widgets/sidebar

components/hackerDashboard/widgets/sidebar/events.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ const HackathonEvents = ({ events }) => {
1616
}
1717
}
1818

19-
useEffect(() => {
20-
if (nextEvent) {
21-
document.getElementById("eventList").scrollTop = document.getElementById(
22-
nextEvent
23-
).offsetTop;
24-
}
25-
}, []);
19+
// useEffect(() => {
20+
// if (nextEvent) {
21+
// document.getElementById("eventList").scrollTop = document.getElementById(
22+
// nextEvent
23+
// ).offsetTop;
24+
// }
25+
// }, []);
2626

2727
return (
2828
<div>

0 commit comments

Comments
 (0)