Skip to content

Commit

Permalink
Shut up the github code scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirAgassi committed Apr 1, 2024
1 parent 8c72c18 commit 4e7e02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Landing: React.FC = () => {
}, []);

useEffect(() => {
const milestones = Array.from({ length: 20 }, (_, i) => false); // Create an array for each 5% milestone
const milestones = Array.from({ length: 20 }, () => false); // Create an array for each 5% milestone

const trackScrollPercentage = () => {
const scrolledPercentage = (window.scrollY / (document.documentElement.scrollHeight - window.innerHeight)) * 100;
Expand Down

0 comments on commit 4e7e02e

Please sign in to comment.