Skip to content

Commit

Permalink
fix: revert unwanted change
Browse files Browse the repository at this point in the history
  • Loading branch information
tushgaurav committed Nov 3, 2024
1 parent c335027 commit 31da7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MDX/Challenges/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function Navigation({
if (containerRef.current) {
const el = containerRef.current;
el.scrollLeft =
challengesNavRef.current[scrollPos]?.current?.offsetLeft || 0;
challengesNavRef.current[scrollPos].current?.offsetLeft || 0;
}
}, [containerRef, challengesNavRef, scrollPos]);

Expand Down

0 comments on commit 31da7d0

Please sign in to comment.